d995a6dc49
* t-h8300: Use TARGET_LIBGCC2_CFLAGS instead of LIBGCC2_CFLAGS. * t-mn10200: Ditto. * t-vxsparc: Ditto. * t-vxworks68: Ditto. * t-vxworks960: Ditto. * t-vx29k: Ditto. From-SVN: r14984
27 lines
768 B
Plaintext
27 lines
768 B
Plaintext
CROSS_LIBGCC1 = libgcc1-asm.a
|
|
LIB1ASMSRC = h8300/lib1funcs.asm
|
|
LIB1ASMFUNCS = _cmpsi2 _ucmpsi2 _divhi3 _divsi3 _mulhi3 _mulsi3
|
|
|
|
# We do not have DF or DI types, so fake out the libgcc2 compilation.
|
|
TARGET_LIBGCC2_CFLAGS = -DDF=SF -DDI=SI
|
|
|
|
LIB2FUNCS_EXTRA = fp-bit.c
|
|
|
|
fp-bit.c: $(srcdir)/config/fp-bit.c
|
|
echo '#define FLOAT' > fp-bit.c
|
|
echo '#define FLOAT_ONLY' >> fp-bit.c
|
|
echo '#define SMALL_MACHINE' >> fp-bit.c
|
|
echo '#ifdef __H8300__' >> fp-bit.c
|
|
echo '#define CMPtype HItype' >> fp-bit.c
|
|
echo '#else' >> fp-bit.c
|
|
echo '#define CMPtype SItype' >> fp-bit.c
|
|
echo '#endif' >> fp-bit.c
|
|
cat $(srcdir)/config/fp-bit.c >> fp-bit.c
|
|
|
|
MULTILIB_OPTIONS = mh/ms mint32
|
|
MULTILIB_DIRNAMES = h8300h h8300s int32
|
|
|
|
LIBGCC = stmp-multilib
|
|
INSTALL_LIBGCC = install-multilib
|
|
|