diff options
author | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-06-12 07:44:51 +0000 |
---|---|---|
committer | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-06-12 07:44:51 +0000 |
commit | 283681bbcbeb2515caade5ebdf3af24d538d5e10 (patch) | |
tree | 9df2902968711e22f82bc2ba2cfc2ded7649e0af /libgcc | |
parent | c83a008868bf7bdf5789d59182cd3334cabe11f6 (diff) | |
download | gcc-283681bbcbeb2515caade5ebdf3af24d538d5e10.tar.gz |
gcc/
* config.gcc (mips64*-*-linux*, mipsisa64*-*-linux*,
mips*-*-linux*): Add crtfastmath.o to extra_parts.
* config/mips/crtfastmath.c: New.
* config/mips/linux.h (ENDFILE_SPEC): New.
libgcc/
* config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
to tmake_file. Add crtfastmath.o to extra_parts.
* config/mips/t-crtfm: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@160655 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgcc')
-rw-r--r-- | libgcc/ChangeLog | 6 | ||||
-rw-r--r-- | libgcc/config.host | 4 | ||||
-rw-r--r-- | libgcc/config/mips/t-crtfm | 3 |
3 files changed, 13 insertions, 0 deletions
diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index a0e88458d96..a261a056f69 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,3 +1,9 @@ +2010-06-12 Kazu Hirata <kazu@codesourcery.com> + + * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm + to tmake_file. Add crtfastmath.o to extra_parts. + * config/mips/t-crtfm: New. + 2010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com> * config.host (sparc64-*-rtems*): New target. diff --git a/libgcc/config.host b/libgcc/config.host index 1e76b19b0bf..6784147d6d7 100644 --- a/libgcc/config.host +++ b/libgcc/config.host @@ -400,8 +400,12 @@ mips-sgi-irix[56]*) mips*-*-netbsd*) # NetBSD/mips, either endian. ;; mips64*-*-linux*) + extra_parts="$extra_parts crtfastmath.o" + tmake_file="{$tmake_file} mips/t-crtfm" ;; mips*-*-linux*) # Linux MIPS, either endian. + extra_parts="$extra_parts crtfastmath.o" + tmake_file="{$tmake_file} mips/t-crtfm" ;; mips*-*-openbsd*) ;; diff --git a/libgcc/config/mips/t-crtfm b/libgcc/config/mips/t-crtfm new file mode 100644 index 00000000000..fe2e06619b1 --- /dev/null +++ b/libgcc/config/mips/t-crtfm @@ -0,0 +1,3 @@ +crtfastmath.o: $(gcc_srcdir)/config/mips/crtfastmath.c + $(gcc_compile) -c $(gcc_srcdir)/config/mips/crtfastmath.c + |