]> CyberLeo.Net >> Repos - FreeBSD/releng/9.2.git/blob - contrib/gcc/config/mips/t-mips
- Copy stable/9 to releng/9.2 as part of the 9.2-RELEASE cycle.
[FreeBSD/releng/9.2.git] / contrib / gcc / config / mips / t-mips
1 # fp-bit and dp-bit are really part of libgcc1, but this will cause
2 # them to be built correctly, so... [taken from t-sparclite]
3 # We want fine grained libraries, so use the new code to build the
4 # floating point emulation libraries.
5 FPBIT = fp-bit.c
6 DPBIT = dp-bit.c
7
8 dp-bit.c: $(srcdir)/config/fp-bit.c
9         echo '#ifdef __MIPSEL__' > dp-bit.c
10         echo '#define FLOAT_BIT_ORDER_MISMATCH' >> dp-bit.c
11         echo '#endif' >> dp-bit.c
12         echo '#define QUIET_NAN_NEGATED' >> dp-bit.c
13         cat $(srcdir)/config/fp-bit.c >> dp-bit.c
14
15 fp-bit.c: $(srcdir)/config/fp-bit.c
16         echo '#define FLOAT' > fp-bit.c
17         echo '#ifdef __MIPSEL__' >> fp-bit.c
18         echo '#define FLOAT_BIT_ORDER_MISMATCH' >> fp-bit.c
19         echo '#endif' >> fp-bit.c
20         echo '#define QUIET_NAN_NEGATED' >> fp-bit.c
21         cat $(srcdir)/config/fp-bit.c >> fp-bit.c
22
23 LIB2_SIDITI_CONV_FUNCS=yes