From f0b81cbc9f1eca010fed269e210f776186629d6c Mon Sep 17 00:00:00 2001 From: Stan Shebs Date: Wed, 16 Feb 2005 21:54:47 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/config.gcc | 5 +++++ gcc/config/rs6000/t-darwin8 | 3 +++ 3 files changed, 13 insertions(+) create mode 100644 gcc/config/rs6000/t-darwin8 diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7b282cc25d6..2864e13fe5b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2005-02-16 Stan Shebs + + * 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 * doc/install.texi (sparc-sun-solaris2*): Document required diff --git a/gcc/config.gcc b/gcc/config.gcc index 51300e25e5b..0bbd958bacc 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 00000000000..2f3bb32f821 --- /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 -- 2.30.2