summaryrefslogtreecommitdiff
path: root/gcc/config/rs6000/t-rs6000
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/rs6000/t-rs6000')
-rwxr-xr-xgcc/config/rs6000/t-rs600022
1 files changed, 22 insertions, 0 deletions
diff --git a/gcc/config/rs6000/t-rs6000 b/gcc/config/rs6000/t-rs6000
new file mode 100755
index 0000000..4c659a6
--- /dev/null
+++ b/gcc/config/rs6000/t-rs6000
@@ -0,0 +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