From f2f52d57ecc53dcd707b6fea751944e18459ce92 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 17 May 2016 06:17:53 +0000 Subject: [PATCH] [RTEMS] Fix moxie libgcc support libgcc/ PR libgcc/70720 * config.host (moxie-*-rtems*): Merge this stanza with other moxie targets so the same extra_parts are built. Also have tmake_file add on to its value rather than override. From-SVN: r236308 --- libgcc/ChangeLog | 10 ++++++++++ libgcc/config.host | 9 ++------- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index 3e73b7694d76..e024f2253adb 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,3 +1,13 @@ +2016-05-17 Sebastian Huber + + Backport from mainline + 2016-05-10 Joel Sherrill + + PR libgcc/70720 + * config.host (moxie-*-rtems*): Merge this stanza with other moxie + targets so the same extra_parts are built. Also have tmake_file add + on to its value rather than override. + 2016-04-04 Eric Botcazou PR target/67172 diff --git a/libgcc/config.host b/libgcc/config.host index 4329891fb986..b4b0665d4b03 100644 --- a/libgcc/config.host +++ b/libgcc/config.host @@ -913,14 +913,9 @@ mmix-knuth-mmixware) mn10300-*-*) tmake_file=t-fdpbit ;; -moxie-*-elf | moxie-*-moxiebox* | moxie-*-uclinux*) - tmake_file="moxie/t-moxie t-softfp-sfdf t-softfp-excl t-softfp" - extra_parts="$extra_parts crti.o crtn.o crtbegin.o crtend.o" - ;; -moxie-*-rtems*) +moxie-*-elf | moxie-*-moxiebox* | moxie-*-uclinux* | moxie-*-rtems*) tmake_file="$tmake_file moxie/t-moxie t-softfp-sfdf t-softfp-excl t-softfp" - # Don't use default. - extra_parts= + extra_parts="$extra_parts crti.o crtn.o crtbegin.o crtend.o" ;; msp430*-*-elf) tmake_file="$tm_file t-crtstuff t-fdpbit msp430/t-msp430"