This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Commit: M32R: Build crtinit.o and crtfini.o
- From: Nick Clifton <nickc at redhat dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Tue, 19 Jul 2016 17:07:05 +0100
- Subject: Commit: M32R: Build crtinit.o and crtfini.o
- Authentication-results: sourceware.org; auth=none
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