aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/rs6000/t-ppc
diff options
context:
space:
mode:
authorMichael Meissner <meissner@gcc.gnu.org>1995-05-10 18:26:30 +0000
committerMichael Meissner <meissner@gcc.gnu.org>1995-05-10 18:26:30 +0000
commit75814ad4c67add8e05ff9009498ca85d5f5b3ba8 (patch)
treefc307b656f05ebe484de2818a4081c7db5cae1b1 /gcc/config/rs6000/t-ppc
parent8f28aa336ed35c60d313f448ac16289c0e8d16f2 (diff)
downloadgcc-75814ad4c67add8e05ff9009498ca85d5f5b3ba8.zip
gcc-75814ad4c67add8e05ff9009498ca85d5f5b3ba8.tar.gz
gcc-75814ad4c67add8e05ff9009498ca85d5f5b3ba8.tar.bz2
Add little endian PowerPC support.
From-SVN: r9613
Diffstat (limited to 'gcc/config/rs6000/t-ppc')
-rw-r--r--gcc/config/rs6000/t-ppc31
1 files changed, 31 insertions, 0 deletions
diff --git a/gcc/config/rs6000/t-ppc b/gcc/config/rs6000/t-ppc
new file mode 100644
index 0000000..fbb26ef
--- /dev/null
+++ b/gcc/config/rs6000/t-ppc
@@ -0,0 +1,31 @@
+# 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 libgcc.a with different options. If no gas support, don't build
+# explicit little endian or big endian libraries, since it depends on the
+# -mbig/-mlittle switches passed to gas.
+
+MULTILIB_OPTIONS = msoft-float \
+ mmultiple/mno-multiple
+
+MULTILIB_DIRNAMES = soft-float \
+ multiple no-multiple
+
+MULTILIB_MATCHES = msoft-float=mcpu?403 \
+ msoft-float=mcpu?mpc403 \
+ msoft-float=mcpu?ppc403
+
+LIBGCC = stmp-multilib
+INSTALL_LIBGCC = install-multilib