Commit: M32R: Build crtinit.o and crtfini.o
Nick Clifton
nickc@redhat.com
Tue Jul 19 16:07:00 GMT 2016
Hi Guys,
I am applying the patch below to fix a long standing snafu for the
m32r target where the files crtinit.o and crtfini.o were not being
built along with the rest of libgcc.
Tested with no regressions and a lot of test case fixes using an
m32r-elf toolchain.
Cheers
Nick
libgcc/ChangeLog
2016-07-19 Nick Clifton <nickc@redhat.com>
* config.host (m32r): Add m32r/t-m32r to tmake_file.
Add crtinit.o and crtfini.o to extra_parts.
Index: libgcc/config.host
===================================================================
--- libgcc/config.host (revision 238477)
+++ libgcc/config.host (working copy)
@@ -787,7 +787,8 @@
tmake_file="lm32/t-lm32 lm32/t-uclinux t-libgcc-pic t-softfp-sfdf t-softfp"
;;
m32r-*-elf*)
- tmake_file=t-fdpbit
+ tmake_file="$tmake_file m32r/t-m32r t-fdpbit"
+ extra_parts="$extra_parts crtinit.o crtfini.o"
;;
m32rle-*-elf*)
tmake_file=t-fdpbit
More information about the Gcc-patches
mailing list