]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
iris6.h (ENDFILE_SPEC): Don't link in irix-csr.o if either -ffast-math or -funsafe...
authorRichard Sandiford <rsandifo@redhat.com>
Wed, 26 Jan 2005 22:32:27 +0000 (22:32 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Wed, 26 Jan 2005 22:32:27 +0000 (22:32 +0000)
* config/mips/iris6.h (ENDFILE_SPEC): Don't link in irix-csr.o if
either -ffast-math or -funsafe-math-optimizations is in use.

From-SVN: r94289

gcc/ChangeLog
gcc/config/mips/iris6.h

index 01cfd967d788f23f5a2ecc16a91af207b9d31d0d..316c0505340da67cadd5e87fa905414516822fc7 100644 (file)
@@ -1,3 +1,8 @@
+2005-01-26  Richard Sandiford  <rsandifo@redhat.com>
+
+       * config/mips/iris6.h (ENDFILE_SPEC): Don't link in irix-csr.o if
+       either -ffast-math or -funsafe-math-optimizations is in use.
+
 2005-01-26  Marek Michalkiewicz  <marekm@amelek.gda.pl>
 
        PR target/19293
index bf3bbc39b28feb941edf9240e628e5fcbd5e9ce7..a37ff24782944fdbcf0d7882592a2e004d3cd3cc 100644 (file)
@@ -97,7 +97,8 @@ Boston, MA 02111-1307, USA.  */
 
 #undef ENDFILE_SPEC
 #define ENDFILE_SPEC \
-  "%{!shared:%{mabi=n32|mabi=64:irix-csr.o%s}} \
+  "%{!shared:%{!ffast-math:%{!funsafe-math-optimizations: \
+     %{mabi=n32|mabi=64:irix-csr.o%s}}}} \
    crtend.o%s irix-crtn.o%s \
    %{!shared: \
      %{mabi=32:crtn.o%s}\