]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/config/mn10300/t-mn10300
Initial revision
[thirdparty/gcc.git] / gcc / config / mn10300 / t-mn10300
1 LIBGCC1=libgcc1.null
2 CROSS_LIBGCC1=libgcc1.null
3
4 # These are really part of libgcc1, but this will cause them to be
5 # built correctly, so...
6
7 LIB2FUNCS_EXTRA = fp-bit.c dp-bit.c
8
9 dp-bit.c: $(srcdir)/config/fp-bit.c
10 echo '#ifdef __LITTLE_ENDIAN__' > dp-bit.c
11 echo '#define FLOAT_BIT_ORDER_MISMATCH' >>dp-bit.c
12 echo '#endif' >> 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 __LITTLE_ENDIAN__' >> fp-bit.c
18 echo '#define FLOAT_BIT_ORDER_MISMATCH' >>fp-bit.c
19 echo '#endif' >> fp-bit.c
20 cat $(srcdir)/config/fp-bit.c >> fp-bit.c