]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
libgcc: add crt{begin,end} for powerpc-wrs-vxworks target
authorRasmus Villemoes <rv@rasmusvillemoes.dk>
Tue, 21 Aug 2018 08:49:15 +0000 (10:49 +0200)
committerRasmus Villemoes <villemoes@gcc.gnu.org>
Tue, 21 Aug 2018 08:49:15 +0000 (08:49 +0000)
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
libgcc/config.host

index e800b36cacd75dcb25671c94c47b0f7a6402c212..1cfba4c5d59dcff69a7e382acbb3eb303a665c1e 100644 (file)
@@ -1,3 +1,8 @@
+2018-08-21  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
+
+       * config.host: Add crtbegin.o and crtend.o for
+       powerpc-wrs-vxworks target.
+
 2018-08-17  Jojo  <jijie_rong@c-sky.com>
            Huibin Wang  <huibin_wang@c-sky.com>
            Sandra Loosemore  <sandra@codesourcery.com>
index bd4ef1e3584afa88236da5c11f35798543b466a0..d4ae9448e10cb86ae1a894d4185de6755fed6e5c 100644 (file)
@@ -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"