# ??? If no mabi=X option given, but a mipsX option is, then should deal # with that. # ??? mabi=32 is deliberately left off the list because it doesn't work yet. MULTILIB_OPTIONS=mabi=n32/mabi=64 MULTILIB_DIRNAMES= MULTILIB_MATCHES= MULTILIB_OSDIRNAMES=. mabi=64 LIBGCC = stmp-multilib INSTALL_LIBGCC = install-multilib # For svr4 we build crtbegin.o and crtend.o which serve to add begin and # end labels to the .ctors and .dtors section when we link using gcc. EXTRA_MULTILIB_PARTS=crtbegin.o crtend.o CRTSTUFF_T_CFLAGS=-g1 # This is only needed in the static libgcc as a band-aid until gcc correctly # implements the N32/N64 ABI structure passing conventions LIB2FUNCS_STATIC_EXTRA = $(srcdir)/config/mips/irix6-libc-compat.c LIB2FUNCS_EXTRA = $(srcdir)/config/mips/_tilib.c TPBIT = tp-bit.c tp-bit.c: $(srcdir)/config/fp-bit.c echo '#ifdef __MIPSEL__' > tp-bit.c echo '# define FLOAT_BIT_ORDER_MISMATCH' >> tp-bit.c echo '#endif' >> tp-bit.c echo '#if __LDBL_MANT_DIG__ == 106' >> tp-bit.c echo '# define TFLOAT' >> tp-bit.c cat $(srcdir)/config/fp-bit.c >> tp-bit.c echo '#endif' >> tp-bit.c