aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorStan Shebs <shebs@apple.com>2005-02-16 21:54:47 +0000
committerStan Shebs <shebs@gcc.gnu.org>2005-02-16 21:54:47 +0000
commitf0b81cbc9f1eca010fed269e210f776186629d6c (patch)
tree3fcc3a912471c04a42fa87a76a250efd84f44d2c /gcc
parent25c62e247583f47dfab4306a66da53502c0b38c0 (diff)
downloadgcc-f0b81cbc9f1eca010fed269e210f776186629d6c.zip
gcc-f0b81cbc9f1eca010fed269e210f776186629d6c.tar.gz
gcc-f0b81cbc9f1eca010fed269e210f776186629d6c.tar.bz2
config.gcc (powerpc-*-darwin*): Use fragment for Darwin 8 or later.
* config.gcc (powerpc-*-darwin*): Use fragment for Darwin 8 or later. * config/rs6000/t-darwin8: New, for 64-bit multilib. From-SVN: r95118
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config.gcc5
-rw-r--r--gcc/config/rs6000/t-darwin83
3 files changed, 13 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 7b282cc..2864e13 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2005-02-16 Stan Shebs <shebs@apple.com>
+
+ * config.gcc (powerpc-*-darwin*): Use fragment for Darwin 8 or later.
+ * config/rs6000/t-darwin8: New, for 64-bit multilib.
+
2005-02-16 Eric Botcazou <ebotcazou@libertysurf.fr>
* doc/install.texi (sparc-sun-solaris2*): Document required
diff --git a/gcc/config.gcc b/gcc/config.gcc
index 51300e2..0bbd958 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -1549,6 +1549,11 @@ powerpc-*-beos*)
powerpc-*-darwin*)
tm_file="${tm_file} rs6000/darwin.h"
tmake_file="${tmake_file} rs6000/t-darwin"
+ case ${target} in
+ *-darwin1[0-9]*) tmake_file="${tmake_file} rs6000/t-darwin8" ;;
+ *-darwin[0-7]*) ;;
+ *-darwin[8-9]*) tmake_file="${tmake_file} rs6000/t-darwin8" ;;
+ esac
extra_headers=altivec.h
;;
powerpc*-*-freebsd*)
diff --git a/gcc/config/rs6000/t-darwin8 b/gcc/config/rs6000/t-darwin8
new file mode 100644
index 0000000..2f3bb32
--- /dev/null
+++ b/gcc/config/rs6000/t-darwin8
@@ -0,0 +1,3 @@
+# 64-bit libraries can only be built in Darwin 8.x or later.
+MULTILIB_OPTIONS = m64
+MULTILIB_DIRNAMES = ppc64