1 # ??? If no mabi=X option given, but a mipsX option is, then should deal
3 # ??? mabi=32 is deliberately left off the list because it doesn't work yet.
4 MULTILIB_OPTIONS=mabi=n32/mabi=64
7 MULTILIB_OSDIRNAMES=. mabi=64
10 INSTALL_LIBGCC = install-multilib
12 # For svr4 we build crtbegin.o and crtend.o which serve to add begin and
13 # end labels to the .ctors and .dtors section when we link using gcc.
15 EXTRA_MULTILIB_PARTS=crtbegin.o crtend.o
18 # This is only needed in the static libgcc as a band-aid until gcc correctly
19 # implements the N32/N64 ABI structure passing conventions
20 LIB2FUNCS_STATIC_EXTRA = $(srcdir)/config/mips/irix6-libc-compat.c
22 LIB2FUNCS_EXTRA = $(srcdir)/config/mips/_tilib.c
26 tp-bit.c: $(srcdir)/config/fp-bit.c
27 echo '#ifdef __MIPSEL__' > tp-bit.c
28 echo '# define FLOAT_BIT_ORDER_MISMATCH' >> tp-bit.c
29 echo '#endif' >> tp-bit.c
30 echo '#define QUIET_NAN_NEGATED' >> dp-bit.c
31 echo '#if __LDBL_MANT_DIG__ == 106' >> tp-bit.c
32 echo '# define TFLOAT' >> tp-bit.c
33 cat $(srcdir)/config/fp-bit.c >> tp-bit.c
34 echo '#endif' >> tp-bit.c