config.gcc (powerpc-*-darwin*): Use fragment for Darwin 8 or later.
authorStan Shebs <shebs@apple.com>
Wed, 16 Feb 2005 21:54:47 +0000 (21:54 +0000)
committerStan Shebs <shebs@gcc.gnu.org>
Wed, 16 Feb 2005 21:54:47 +0000 (21:54 +0000)
        * config.gcc (powerpc-*-darwin*): Use fragment for Darwin 8 or later.
        * config/rs6000/t-darwin8: New, for 64-bit multilib.

From-SVN: r95118

gcc/ChangeLog
gcc/config.gcc
gcc/config/rs6000/t-darwin8 [new file with mode: 0644]

index 7b282cc25d635d6e2dbf299c0a447474798e64ae..2864e13fe5b3d8dcfc5bd5f46068c0169f09db47 100644 (file)
@@ -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
index 51300e25e5b35177663daff3cdc4cdff539660cf..0bbd958bacc4e042b8a5ae53b85e58f9f8795ba5 100644 (file)
@@ -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 (file)
index 0000000..2f3bb32
--- /dev/null
@@ -0,0 +1,3 @@
+# 64-bit libraries can only be built in Darwin 8.x or later.
+MULTILIB_OPTIONS = m64
+MULTILIB_DIRNAMES = ppc64