diff options
author | Richard Sandiford <richard@codesourcery.com> | 2006-05-19 08:05:39 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2006-05-19 08:05:39 +0000 |
commit | baffad1f3d30a473263e56f86b1420dbc7371ab3 (patch) | |
tree | cf643de5bba2d973c8fea4043b4125197d2df44c /gcc/config/mips | |
parent | 41990f964687332cd2ea2ad59a02c18ed499db6c (diff) | |
download | gcc-baffad1f3d30a473263e56f86b1420dbc7371ab3.zip gcc-baffad1f3d30a473263e56f86b1420dbc7371ab3.tar.gz gcc-baffad1f3d30a473263e56f86b1420dbc7371ab3.tar.bz2 |
re PR target/22209 (libgfortran unresolvable symbols on irix6.5)
* libgcc2.c (MIN_UNITS_PER_WORD): Move default definition from
libgcc2.h.
(LIBGCC2_UNITS_PER_WORD): Provide default definition, using old
MIN_UNITS_PER_WORD logic from libgcc2.h. Do nothing if
LIBGCC2_UNITS_PER_WORD > MIN_UNITS_PER_WORD.
* libgcc2.h (MIN_UNITS_PER_WORD): Remove definition from here.
Use LIBGCC2_UNITS_PER_WORD rather than MIN_UNITS_PER_WORD to
determine the size of Wtype, etc.
* mklibgcc.in (LIB2_SIDITI_CONV_FUNCS): New argument.
(swfloatfuncs): New variable.
(dwfloatfuncs): Likewise.
(lib2funcs): Remove floating-point conversion functions from
initial assignment. Use LIB2_SIDITI_CONV_FUNCS to determine
the set of conversion routines needed. Allow entries to specify
an object name, filename and word size. Update users accordingly.
* Makefile.in (libgcc.mk): Pass LIB2_SIDITI_CONV_FUNCS.
* config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Define.
Revert:
2006-02-08 Roger Sayle <roger@eyesopen.com>
PR target/22209
* config/fixtfdi.c: New libgcc source file.
* config/fixunstfdi.c: New source file.
* config/floatditf.c: New source file.
* config/floatunditf.c: New souce file.
* config/mips/t-iris6 (LIB2FUNCS_EXTRA): Include the new source
files above instead of config/mips/_tilib.c.
* config/mips/t-linux64 (LIB2FUNCS_EXTRA): Likewise.
From-SVN: r113903
Diffstat (limited to 'gcc/config/mips')
-rw-r--r-- | gcc/config/mips/t-iris6 | 2 | ||||
-rw-r--r-- | gcc/config/mips/t-linux64 | 2 | ||||
-rw-r--r-- | gcc/config/mips/t-mips | 2 |
3 files changed, 2 insertions, 4 deletions
diff --git a/gcc/config/mips/t-iris6 b/gcc/config/mips/t-iris6 index 0ddf339..5155472 100644 --- a/gcc/config/mips/t-iris6 +++ b/gcc/config/mips/t-iris6 @@ -6,8 +6,6 @@ MULTILIB_OSDIRNAMES=../lib32 ../lib ../lib64 LIBGCC = stmp-multilib INSTALL_LIBGCC = install-multilib -LIB2FUNCS_EXTRA = $(srcdir)/config/fixtfdi.c $(srcdir)/config/fixunstfdi.c $(srcdir)/config/floatditf.c $(srcdir)/config/floatunditf.c - TPBIT = tp-bit.c tp-bit.c: $(srcdir)/config/fp-bit.c diff --git a/gcc/config/mips/t-linux64 b/gcc/config/mips/t-linux64 index c96d5ed..4f820ff 100644 --- a/gcc/config/mips/t-linux64 +++ b/gcc/config/mips/t-linux64 @@ -4,8 +4,6 @@ MULTILIB_OSDIRNAMES = ../lib32 ../lib ../lib64 EXTRA_MULTILIB_PARTS=crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o -LIB2FUNCS_EXTRA = $(srcdir)/config/fixtfdi.c $(srcdir)/config/fixunstfdi.c $(srcdir)/config/floatditf.c $(srcdir)/config/floatunditf.c - TPBIT = tp-bit.c tp-bit.c: $(srcdir)/config/fp-bit.c diff --git a/gcc/config/mips/t-mips b/gcc/config/mips/t-mips index 497f4fb..c431dcc 100644 --- a/gcc/config/mips/t-mips +++ b/gcc/config/mips/t-mips @@ -19,3 +19,5 @@ fp-bit.c: $(srcdir)/config/fp-bit.c echo '#endif' >> fp-bit.c echo '#define QUIET_NAN_NEGATED' >> fp-bit.c cat $(srcdir)/config/fp-bit.c >> fp-bit.c + +LIB2_SIDITI_CONV_FUNCS=yes |