OSDN Git Service

* config.gcc (mips-sgi-irix6*o32): Only enable use_collect2
[pf3gnuchains/gcc-fork.git] / gcc / config / mips / t-iris6
1 # ??? If no mabi=X option given, but a mipsX option is, then should deal
2 # with that.
3 MULTILIB_OPTIONS=mabi=32/mabi=n32/mabi=64
4 MULTILIB_DIRNAMES=
5 MULTILIB_MATCHES=
6 MULTILIB_OSDIRNAMES=mabi=32 . mabi=64
7
8 LIBGCC = stmp-multilib
9 INSTALL_LIBGCC = install-multilib
10
11 # For svr4 we build crtbegin.o and crtend.o which serve to add begin and
12 # end labels to the .ctors and .dtors section when we link using gcc.
13
14 EXTRA_MULTILIB_PARTS=crtbegin.o crtend.o
15 CRTSTUFF_T_CFLAGS=-g1
16
17 # This is only needed in the static libgcc as a band-aid until gcc correctly
18 # implements the N32/N64 ABI structure passing conventions
19 LIB2FUNCS_STATIC_EXTRA = $(srcdir)/config/mips/irix6-libc-compat.c
20
21 LIB2FUNCS_EXTRA = $(srcdir)/config/mips/_tilib.c
22
23 TPBIT = tp-bit.c
24
25 tp-bit.c: $(srcdir)/config/fp-bit.c
26         echo '#ifdef __MIPSEL__' > tp-bit.c
27         echo '# define FLOAT_BIT_ORDER_MISMATCH' >> tp-bit.c
28         echo '#endif' >> tp-bit.c
29         echo '#define QUIET_NAN_NEGATED' >> dp-bit.c
30         echo '#if __LDBL_MANT_DIG__ == 106' >> tp-bit.c
31         echo '# define TFLOAT' >> tp-bit.c
32         cat $(srcdir)/config/fp-bit.c >> tp-bit.c
33         echo '#endif' >> tp-bit.c