| # ??? If no mabi=X option given, but a mipsX option is, then should deal |
| # with that. |
| MULTILIB_OPTIONS=mabi=n32/mabi=32/mabi=64 |
| MULTILIB_DIRNAMES= |
| MULTILIB_MATCHES= |
| MULTILIB_OSDIRNAMES=. mabi=32 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 |
| |
| 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 '#define QUIET_NAN_NEGATED' >> dp-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 |