OSDN Git Service

* target-def.h (TARGET_MACHINE_DEPENDENT_REORG): Define.
[pf3gnuchains/gcc-fork.git] / gcc / config / h8300 / t-h8300
1 # The three first floating point functions listed in LIB1ASMFUNCS (_fixsfdi,
2 # _floatdisf, and _fixunssfdi) are used to disable the inclusion of those
3 # from libgcc2.c.  They do not actually exist in lib1funcs.asm.
4 LIB1ASMSRC = h8300/lib1funcs.asm
5 LIB1ASMFUNCS = _cmpsi2 _ucmpsi2 _divhi3 _divsi3 _mulhi3 _mulsi3 \
6   _floatdisf _fixsfdi _fixunssfdi _fixunssfsi_asm
7
8 LIB2FUNCS_EXTRA = $(srcdir)/config/h8300/fixunssfsi.c
9
10 # We do not have DF or DI types, so fake out the libgcc2 compilation.
11 TARGET_LIBGCC2_CFLAGS = -DDF=SF -DDI=SI
12
13 # We want fine grained libraries, so use the new code to build the
14 # floating point emulation libraries.
15 FPBIT = fp-bit.c
16
17 fp-bit.c: $(srcdir)/config/fp-bit.c
18         echo '#define FLOAT' > fp-bit.c
19         echo '#define FLOAT_ONLY' >> fp-bit.c
20         echo '#define SMALL_MACHINE' >> fp-bit.c
21         echo '#ifdef __H8300__' >> fp-bit.c
22         echo '#define CMPtype HItype' >> fp-bit.c
23         echo '#else' >> fp-bit.c
24         echo '#define CMPtype SItype' >> fp-bit.c
25         echo '#endif' >> fp-bit.c
26         cat $(srcdir)/config/fp-bit.c >> fp-bit.c
27
28 MULTILIB_OPTIONS = mh/ms mn mint32
29 MULTILIB_DIRNAMES = h8300h h8300s normal int32
30 MULTILIB_EXCEPTIONS = mint32 mn mn/mint32
31
32 LIBGCC = stmp-multilib
33 INSTALL_LIBGCC = install-multilib