summaryrefslogtreecommitdiff
path: root/gcc/config/rs6000/t-rs6000
diff options
context:
space:
mode:
authormeissner <meissner@138bc75d-0d04-0410-961f-82ee72b054a4>1995-02-23 20:30:26 +0000
committermeissner <meissner@138bc75d-0d04-0410-961f-82ee72b054a4>1995-02-23 20:30:26 +0000
commit4ba5d6c4990c9969564e84545faa2d49f50ad2cb (patch)
treec2b4efdbe30b5f9d7312246bfa31d814f51bc4ef /gcc/config/rs6000/t-rs6000
parent291dddd56684b7adde4d78e80473e36d519560d0 (diff)
downloadgcc-4ba5d6c4990c9969564e84545faa2d49f50ad2cb.tar.gz
Support -msoft-float; support eabi -mrelocatable
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9053 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/rs6000/t-rs6000')
-rw-r--r--gcc/config/rs6000/t-rs600019
1 files changed, 19 insertions, 0 deletions
diff --git a/gcc/config/rs6000/t-rs6000 b/gcc/config/rs6000/t-rs6000
index 1490b3994dd..4c659a629d7 100644
--- a/gcc/config/rs6000/t-rs6000
+++ b/gcc/config/rs6000/t-rs6000
@@ -1,3 +1,22 @@
# 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
+
+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
+
+# Build the libraries for both hard and soft floating point
+
+MULTILIB_OPTIONS = msoft-float
+MULTILIB_DIRNAMES = soft-float
+
+LIBGCC = stmp-multilib
+INSTALL_LIBGCC = install-multilib