[RFC,2/6] libgcc: add crt{begin,end} for powerpc-wrs-vxworks target

Message ID 20180604144626.5902-3-rasmus.villemoes@prevas.dk
State New
Headers show
Series
  • some vxworks/powerpc patches
Related show

Commit Message

Rasmus Villemoes June 4, 2018, 2:46 p.m.
In order to allow ZCX on VxWorks, we need the frame_dummy function to do
the register_frame_info().

2018-06-04  Rasmus Villemoes  <rasmus.villemoes@prevas.dk>

libgcc/

        * config.host: Add crtbegin.o and crtend.o for
          powerpc-wrs-vxworks target.
---
 libgcc/config.host | 1 +
 1 file changed, 1 insertion(+)

-- 
2.15.1

Patch

diff --git a/libgcc/config.host b/libgcc/config.host
index f8fd78279d3..b75c86bd4a6 100644
--- a/libgcc/config.host
+++ b/libgcc/config.host
@@ -1112,6 +1112,7 @@  powerpc*-*-linux*)
 	;;
 powerpc-wrs-vxworks*)
 	tmake_file="$tmake_file rs6000/t-ppccomm rs6000/t-savresfgpr t-fdpbit"
+	extra_parts="$extra_parts crtbegin.o crtend.o"
 	;;
 powerpc-*-lynxos*)
 	tmake_file="$tmake_file rs6000/t-lynx t-fdpbit"