1 # ??? If no mabi=X option given, but a mipsX option is, then should deal
3 MULTILIB_OPTIONS=mabi=32/mabi=n32/mabi=64
6 MULTILIB_OSDIRNAMES=mabi=32 . mabi=64
9 INSTALL_LIBGCC = install-multilib
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.
14 EXTRA_MULTILIB_PARTS=crtbegin.o crtend.o
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
21 LIB2FUNCS_EXTRA = $(srcdir)/config/mips/_tilib.c
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