summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/gcc/config/rs6000/t-eabisim
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1995-12-20 01:06:22 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1995-12-20 01:06:22 +0000
commitc482518380683ee38d14024c1e362a0d681cf967 (patch)
treee69b4f6d3fee3aced20a41f3fdf543fc1c77fb5d /gnu/usr.bin/gcc/config/rs6000/t-eabisim
parent76a62188d0db49c65b696d474c855a799fd96dce (diff)
FSF GCC version 2.7.2
Diffstat (limited to 'gnu/usr.bin/gcc/config/rs6000/t-eabisim')
-rw-r--r--gnu/usr.bin/gcc/config/rs6000/t-eabisim34
1 files changed, 34 insertions, 0 deletions
diff --git a/gnu/usr.bin/gcc/config/rs6000/t-eabisim b/gnu/usr.bin/gcc/config/rs6000/t-eabisim
new file mode 100644
index 00000000000..249b482bc0b
--- /dev/null
+++ b/gnu/usr.bin/gcc/config/rs6000/t-eabisim
@@ -0,0 +1,34 @@
+# Do not build libgcc1.
+LIBGCC1 =
+CROSS_LIBGCC1 =
+
+# These are really part of libgcc1, but this will cause them to be
+# built correctly, so... [taken from t-sparclite]
+LIB2FUNCS_EXTRA = fp-bit.c dp-bit.c eabi.asm eabi-ctors.c
+
+dp-bit.c: $(srcdir)/config/fp-bit.c
+ cat $(srcdir)/config/fp-bit.c > dp-bit.c
+
+fp-bit.c: $(srcdir)/config/fp-bit.c
+ echo '#define FLOAT' > fp-bit.c
+ cat $(srcdir)/config/fp-bit.c >> fp-bit.c
+
+eabi.asm: $(srcdir)/config/rs6000/eabi.asm
+ cat $(srcdir)/config/rs6000/eabi.asm > eabi.asm
+
+eabi-ctors.c: $(srcdir)/config/rs6000/eabi-ctors.c
+ cat $(srcdir)/config/rs6000/eabi-ctors.c > eabi-ctors.c
+
+# Build libgcc.a with different options.
+
+MULTILIB_OPTIONS = mlittle/mbig \
+ mrelocatable
+
+MULTILIB_DIRNAMES = little-endian big-endian \
+ mrelocatable
+
+MULTILIB_MATCHES = mlittle=mlittle-endian \
+ mbig=mbig-endian
+
+LIBGCC = stmp-multilib
+INSTALL_LIBGCC = install-multilib