diff options
author | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-02-07 09:27:47 +0000 |
---|---|---|
committer | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-02-07 09:27:47 +0000 |
commit | a4a82116635bfea7dbd2077aecf591bbfa77307d (patch) | |
tree | 1c8269fe7870f5c142dc509f9d0a28615f643714 /gcc/config/mips | |
parent | 7923a348ebe6bca997306b7d505985ca25330499 (diff) | |
download | gcc-a4a82116635bfea7dbd2077aecf591bbfa77307d.tar.gz |
PR bootstrap/19796
Revert:
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-24 Richard Sandiford <rsandifo@redhat.com>
* config/mips/irix-csr.c: New file.
* config/mips/t-iris6 (irix-csr.o): New rule to build it.
(EXTRA_MULTILIB_PARTS): Add irix-csr.o.
* config/mips/iris6.h (ENDFILE_SPEC): Include it in n32 and n64
executables.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94696 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/mips')
-rw-r--r-- | gcc/config/mips/iris6.h | 4 | ||||
-rw-r--r-- | gcc/config/mips/irix-csr.c | 17 | ||||
-rw-r--r-- | gcc/config/mips/t-iris6 | 6 |
3 files changed, 1 insertions, 26 deletions
diff --git a/gcc/config/mips/iris6.h b/gcc/config/mips/iris6.h index 0468a114d78..ff051255c9c 100644 --- a/gcc/config/mips/iris6.h +++ b/gcc/config/mips/iris6.h @@ -98,9 +98,7 @@ Boston, MA 02111-1307, USA. */ #undef ENDFILE_SPEC #define ENDFILE_SPEC \ - "%{!shared:%{!ffast-math:%{!funsafe-math-optimizations: \ - %{mabi=n32|mabi=64:irix-csr.o%s}}}} \ - crtend.o%s irix-crtn.o%s \ + "crtend.o%s irix-crtn.o%s \ %{!shared: \ %{mabi=32:crtn.o%s}\ %{mabi=n32:%{mips4:/usr/lib32/mips4/crtn.o%s}\ diff --git a/gcc/config/mips/irix-csr.c b/gcc/config/mips/irix-csr.c deleted file mode 100644 index ef37345cd73..00000000000 --- a/gcc/config/mips/irix-csr.c +++ /dev/null @@ -1,17 +0,0 @@ -#if _MIPS_SIM == _ABIN32 || _MIPS_SIM == _ABI64 -#include <sys/fpu.h> - -/* n32 and n64 applications usually run with the MIPS IV Flush to Zero - bit set. Clear it here so that gcc-generated code will handle - subnormals correctly by default. */ - -static void __attribute__((constructor)) -clear_flush_to_zero (void) -{ - union fpc_csr csr; - - csr.fc_word = get_fpc_csr (); - csr.fc_struct.flush = 0; - set_fpc_csr (csr.fc_word); -} -#endif diff --git a/gcc/config/mips/t-iris6 b/gcc/config/mips/t-iris6 index 93837887f46..254480cb43f 100644 --- a/gcc/config/mips/t-iris6 +++ b/gcc/config/mips/t-iris6 @@ -19,9 +19,3 @@ tp-bit.c: $(srcdir)/config/fp-bit.c echo '# define TFLOAT' >> tp-bit.c cat $(srcdir)/config/fp-bit.c >> tp-bit.c echo '#endif' >> tp-bit.c - -$(T)irix-csr.o: $(srcdir)/config/mips/irix-csr.c $(GCC_PASSES) - $(GCC_FOR_TARGET) $(GCC_CFLAGS) $(MULTILIB_CFLAGS) $(INCLUDES) \ - -c -o $@ $< - -EXTRA_MULTILIB_PARTS += irix-csr.o |