aboutsummaryrefslogtreecommitdiff
path: root/gcc/config.gcc
diff options
context:
space:
mode:
authorAndreas Tobler <andreast@fgznet.ch>2012-03-21 21:13:50 +0100
committerAndreas Tobler <andreast@gcc.gnu.org>2012-03-21 21:13:50 +0100
commita26f86dcb1fd70f7136deb3964443bef528db516 (patch)
tree6de6a3120496c1dc6d4c272ec1de3fe57695c0f0 /gcc/config.gcc
parentd82ad50db3dcf1a7fd7dabae129bf4ee6dc771fd (diff)
downloadgcc-a26f86dcb1fd70f7136deb3964443bef528db516.zip
gcc-a26f86dcb1fd70f7136deb3964443bef528db516.tar.gz
gcc-a26f86dcb1fd70f7136deb3964443bef528db516.tar.bz2
configure.ac (HAVE_LD_NO_DOT_SYMBOLS): Add powerpc64-*-freebsd*.
2012-03-21 Andreas Tobler <andreast@fgznet.ch> * configure.ac (HAVE_LD_NO_DOT_SYMBOLS): Add powerpc64-*-freebsd*. Introduce emul_name to select the right linker emulation for powerpc64-*-freebsd*. * configure: Regenerate. * config.gcc: Add bits to support powerpc64-*-freebsd*. * config/rs6000/freebsd.h (POWERPC_FREEBSD): Define. * config/rs6000/freebsd64.h: New file. * config/rs6000/rs6000.c (rs6000_option_override_internal): Use POWERPC_FREEBSD. (rs6000_savres_strategy): Likewise. (rs6000_savres_routine_name): Likewise. (rs6000_elf_file_end): Likewise. * config/rs6000/t-freebsd64: New file. * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Set the rs6000_current_abi for 64-bit FreeBSD to ABI_AIX. From-SVN: r185615
Diffstat (limited to 'gcc/config.gcc')
-rw-r--r--gcc/config.gcc16
1 files changed, 13 insertions, 3 deletions
diff --git a/gcc/config.gcc b/gcc/config.gcc
index 543944e..1b01833 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -1888,10 +1888,20 @@ powerpc64-*-darwin*)
tm_file="${tm_file} ${cpu_type}/darwin8.h ${cpu_type}/darwin64.h"
extra_headers=altivec.h
;;
-powerpc-*-freebsd*)
- tm_file="${tm_file} dbxelf.h elfos.h ${fbsd_tm_file} rs6000/sysv4.h rs6000/freebsd.h"
- tmake_file="rs6000/t-fprules rs6000/t-ppcos ${tmake_file} rs6000/t-ppccomm"
+powerpc*-*-freebsd*)
+ tm_file="${tm_file} dbxelf.h elfos.h ${fbsd_tm_file} rs6000/sysv4.h"
extra_options="${extra_options} rs6000/sysv4.opt"
+ tmake_file="rs6000/t-fprules rs6000/t-ppcos ${tmake_file} rs6000/t-ppccomm"
+ case ${host} in
+ powerpc64*)
+ tm_file="${tm_file} rs6000/default64.h rs6000/freebsd64.h"
+ tmake_file="${tmake_file} rs6000/t-freebsd64"
+ extra_options="${extra_options} rs6000/linux64.opt"
+ ;;
+ *)
+ tm_file="${tm_file} rs6000/freebsd.h"
+ ;;
+ esac
;;
powerpc-*-netbsd*)
tm_file="${tm_file} dbxelf.h elfos.h netbsd.h netbsd-elf.h freebsd-spec.h rs6000/sysv4.h rs6000/netbsd.h"