From 9a5b8df7007b350015509ee8f809fd7d2c8fa963 Mon Sep 17 00:00:00 2001 From: Rasmus Villemoes Date: Tue, 21 Aug 2018 10:49:15 +0200 Subject: [PATCH] libgcc: add crt{begin,end} for powerpc-wrs-vxworks target In order to allow ZCX on VxWorks, we need the frame_dummy function to do the register_frame_info(). So make sure crtbegin.o and crtend.o are available for use with a custom spec file. From-SVN: r263690 --- libgcc/ChangeLog | 5 +++++ libgcc/config.host | 1 + 2 files changed, 6 insertions(+) diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index e800b36cacd..1cfba4c5d59 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,3 +1,8 @@ +2018-08-21 Rasmus Villemoes + + * config.host: Add crtbegin.o and crtend.o for + powerpc-wrs-vxworks target. + 2018-08-17 Jojo Huibin Wang Sandra Loosemore diff --git a/libgcc/config.host b/libgcc/config.host index bd4ef1e3584..d4ae9448e10 100644 --- a/libgcc/config.host +++ b/libgcc/config.host @@ -1141,6 +1141,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" -- 2.30.2