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.
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
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
23 LIB2_SIDITI_CONV_FUNCS=yes