diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1995-12-20 01:06:22 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1995-12-20 01:06:22 +0000 |
commit | c482518380683ee38d14024c1e362a0d681cf967 (patch) | |
tree | e69b4f6d3fee3aced20a41f3fdf543fc1c77fb5d /gnu/usr.bin/gcc/config/h8300/t-h8300 | |
parent | 76a62188d0db49c65b696d474c855a799fd96dce (diff) |
FSF GCC version 2.7.2
Diffstat (limited to 'gnu/usr.bin/gcc/config/h8300/t-h8300')
-rw-r--r-- | gnu/usr.bin/gcc/config/h8300/t-h8300 | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/usr.bin/gcc/config/h8300/t-h8300 b/gnu/usr.bin/gcc/config/h8300/t-h8300 new file mode 100644 index 00000000000..f072d99090f --- /dev/null +++ b/gnu/usr.bin/gcc/config/h8300/t-h8300 @@ -0,0 +1,26 @@ +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. +LIBGCC2_CFLAGS = -g -O2 -DDF=SF -DDI=SI $(GCC_CFLAGS) $(LIBGCC2_INCLUDES) + +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 +MULTILIB_DIRNAMES = h8300h + +LIBGCC = stmp-multilib +INSTALL_LIBGCC = install-multilib + |