aboutsummaryrefslogtreecommitdiff
path: root/libgcc
diff options
context:
space:
mode:
authorKazu Hirata <kazu@codesourcery.com>2010-06-12 07:44:51 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2010-06-12 07:44:51 +0000
commit48b09a925e246f1bfafd52d5441ab9e111924ddf (patch)
tree9df2902968711e22f82bc2ba2cfc2ded7649e0af /libgcc
parentb53cd1c5cf3aa84837b677fda803c1664857774a (diff)
downloadgcc-48b09a925e246f1bfafd52d5441ab9e111924ddf.zip
gcc-48b09a925e246f1bfafd52d5441ab9e111924ddf.tar.gz
gcc-48b09a925e246f1bfafd52d5441ab9e111924ddf.tar.bz2
config.gcc (mips64*-*-linux*, [...]): Add crtfastmath.o to extra_parts.
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. From-SVN: r160655
Diffstat (limited to 'libgcc')
-rw-r--r--libgcc/ChangeLog6
-rw-r--r--libgcc/config.host4
-rw-r--r--libgcc/config/mips/t-crtfm3
3 files changed, 13 insertions, 0 deletions
diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog
index a0e8845..a261a05 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 1e76b19..6784147 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 0000000..fe2e066
--- /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
+