aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog7
-rw-r--r--gcc/config.gcc4
-rw-r--r--gcc/config/rs6000/t-ppcendian12
3 files changed, 21 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index e374165..f55de25 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,10 @@
+2002-03-03 Aldy Hernandez <aldyh@redhat.com>
+
+ * config.gcc (powerpc-*-eabialtivec*): Use t-ppcendian.
+ (powerpc-*-eabisimaltivec*): Same.
+
+ * config/rs6000/t-ppcendian: New.
+
2002-03-04 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
* c4x-protos.h, c4x.h, c4x.c, c4x.md: Add new functions
diff --git a/gcc/config.gcc b/gcc/config.gcc
index 597e1f8..9927bd9 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -2734,7 +2734,7 @@ powerpc-*-eabiaix*)
powerpc-*-eabisimaltivec*)
xm_defines=POSIX
tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h rs6000/eabi.h rs6000/eabisim.h rs6000/eabialtivec.h"
- tmake_file="rs6000/t-ppcgas rs6000/t-ppccomm"
+ tmake_file="rs6000/t-ppcendian rs6000/t-ppccomm"
;;
powerpc-*-eabisim*)
xm_defines=POSIX
@@ -2749,7 +2749,7 @@ powerpc-*-elf*)
powerpc-*-eabialtivec*)
xm_defines=POSIX
tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h rs6000/eabi.h rs6000/eabialtivec.h"
- tmake_file="rs6000/t-ppcgas rs6000/t-ppccomm"
+ tmake_file="rs6000/t-ppcendian rs6000/t-ppccomm"
;;
powerpc-*-eabi*)
xm_defines=POSIX
diff --git a/gcc/config/rs6000/t-ppcendian b/gcc/config/rs6000/t-ppcendian
new file mode 100644
index 0000000..b6252ee
--- /dev/null
+++ b/gcc/config/rs6000/t-ppcendian
@@ -0,0 +1,12 @@
+# Multilibs for powerpc embedded ELF targets with altivec.
+
+MULTILIB_OPTIONS = msoft-float \
+ mlittle/mbig
+
+MULTILIB_DIRNAMES = nof \
+ le be
+
+
+MULTILIB_MATCHES = ${MULTILIB_MATCHES_FLOAT} \
+ ${MULTILIB_MATCHES_ENDIAN} \
+ ${MULTILIB_MATCHES_SYSV}