aboutsummaryrefslogtreecommitdiff
path: root/libgcc/config/t-crtfm
diff options
context:
space:
mode:
authorRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>2011-07-13 17:33:38 +0000
committerRainer Orth <ro@gcc.gnu.org>2011-07-13 17:33:38 +0000
commit35d8090d78a398e73813e3c752e0468e69c96750 (patch)
tree43558081045fc254d40f3c818a030ebac045ba73 /libgcc/config/t-crtfm
parent19073ebc7ad340bcbcfc9e47715f235a53e0dc73 (diff)
downloadgcc-35d8090d78a398e73813e3c752e0468e69c96750.zip
gcc-35d8090d78a398e73813e3c752e0468e69c96750.tar.gz
gcc-35d8090d78a398e73813e3c752e0468e69c96750.tar.bz2
crtfastmath.c: Move to ../libgcc/config/alpha.
gcc: * config/alpha/crtfastmath.c: Move to ../libgcc/config/alpha. * config/alpha/t-crtfm: Remove. * config/i386/crtfastmath.c: Move to ../libgcc/config/i386. * config/i386/t-crtfm: Remove. * config/ia64/crtfastmath.c: Move to ../libgcc/config/ia64. * config/mips/crtfastmath.c: Move to ../libgcc/config/mips. * config/sparc/crtfastmath.c: Move to ../libgcc/config/sparc. * config/sparc/t-crtfm: Remove. * config.gcc (alpha*-*-linux*): Remove alpha/t-crtfm from tmake_file. (alpha*-*-freebsd*): Likewise. (i[34567]86-*-darwin*): Remove i386/t-crtfm from tmake_file. (x86_64-*-darwin*): Likewise. (i[34567]86-*-linux*): Likewise. (x86_64-*-linux*): Likewise. (x86_64-*-mingw*): Likewise. (ia64*-*-elf*): Remove crtfastmath.o from extra_parts. (ia64*-*-freebsd*): Likewise. (ia64*-*-linux*): Likewise. (mips64*-*-linux*): Likewise. (mips*-*-linux*): Likewise. (sparc-*-linux*): Remove sparc/t-crtfm from tmake_file. (sparc64-*-linux*): Likewise. (sparc64-*-freebsd*): Likewise. libgcc: * config/alpha/crtfastmath.c: New file. * config/i386/crtfastmath.c: New file. * config/ia64/crtfastmath.c: New file. * config/mips/crtfastmath.c: New file. * config/sparc/crtfastmath.c: New file. * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to crtfastmath.c. Add -frandom-seed=gcc-crtfastmath. * config/alpha/t-crtfm: Remove. * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c. * config/ia64/t-ia64 (crtfastmath.o): Remove. * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm. (alpha*-dec-osf5.1*): Likewise. (alpha*-*-freebsd*): Add t-crtfm to tmake_file. Add crtfastmath.o to extra_parts. (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file. Add crtfastmath.o to extra_parts. (x86_64-*-darwin*): Likewise. (x86_64-*-mingw*): Likewise. (ia64*-*-elf*): Add t-crtfm to tmake_file. (ia64*-*-freebsd*): Likewise. (ia64*-*-linux*): Likewise. (sparc64-*-freebsd*): Add t-crtfm to tmake_file. Add crtfastmath.o to extra_parts. From-SVN: r176241
Diffstat (limited to 'libgcc/config/t-crtfm')
-rw-r--r--libgcc/config/t-crtfm7
1 files changed, 5 insertions, 2 deletions
diff --git a/libgcc/config/t-crtfm b/libgcc/config/t-crtfm
index 6b9d84c..1d3b8ec 100644
--- a/libgcc/config/t-crtfm
+++ b/libgcc/config/t-crtfm
@@ -1,2 +1,5 @@
-crtfastmath.o: $(gcc_srcdir)/config/$(cpu_type)/crtfastmath.c
- $(gcc_compile) -c $<
+# -frandom-seed is necessary to avoid bootstrap comparison failures due to
+# changing mangled names of the constructor on Tru64 Unix, but harmless
+# otherwise.
+crtfastmath.o: $(srcdir)/config/$(cpu_type)/crtfastmath.c
+ $(gcc_compile) -frandom-seed=gcc-crtfastmath -c $<