aboutsummaryrefslogtreecommitdiff
path: root/ld/configure.tgt
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2011-11-21 13:22:46 +0000
committerAlan Modra <amodra@gmail.com>2011-11-21 13:22:46 +0000
commitbd59d91639999e90bb9f73d679c91a9e7af7579b (patch)
treed8dca11998e91108695f219342ca411a080bd75f /ld/configure.tgt
parentedc1d65242992c050acce8afbd26191abf6bb433 (diff)
downloadgdb-bd59d91639999e90bb9f73d679c91a9e7af7579b.zip
gdb-bd59d91639999e90bb9f73d679c91a9e7af7579b.tar.gz
gdb-bd59d91639999e90bb9f73d679c91a9e7af7579b.tar.bz2
* Makefile.am (ALL_64_EMULATION_SOURCES): Add powerpc64-*-freebsd
source. (eelf64ppc_fbsd.c): Add rules to build this file. * Makefile.in: Regenerate. * configure.tgt: Add target definition for powerpc64-*-freebsd*. Adjust powerpc-*-freebsd*. * emultempl/ppc64elf.em: Add a mechanism to override the default value of 0 for plt_static_chain. * emulparams/elf32ppc_fbsd.sh (OUTPUT_FORMAT): Override the default. * emulparams/elf64ppc_fbsd.sh (OUTPUT_FORMAT): Likewise. (DEFAULT_PLT_STATIC_CHAIN): Define to 1.
Diffstat (limited to 'ld/configure.tgt')
-rw-r--r--ld/configure.tgt11
1 files changed, 9 insertions, 2 deletions
diff --git a/ld/configure.tgt b/ld/configure.tgt
index 978a801..8088f2d 100644
--- a/ld/configure.tgt
+++ b/ld/configure.tgt
@@ -455,10 +455,17 @@ pjl*-*-*) targ_emul=pjlelf ; targ_extra_emuls="elf_i386" ;;
pj*-*-*) targ_emul=pjelf
;;
powerpc-*-freebsd* | powerpc-*-kfreebsd*-gnu)
- targ_emul=elf32ppc_fbsd;
- targ_extra_emuls="elf32ppc elf32ppcsim";
+ targ_emul=elf32ppc_fbsd
+ targ_extra_emuls="elf32ppc elf32ppcsim"
targ_extra_libpath=elf32ppc;
tdir_elf32ppcsim=`echo ${targ_alias} | sed -e 's/ppc/ppcsim/'` ;;
+powerpc64-*-freebsd*)
+ targ_emul=elf64ppc_fbsd
+ targ_extra_emuls="elf64ppc elf32ppc_fbsd elf32ppc"
+ targ_extra_libpath="elf32ppc_fbsd elf32ppc"
+ tdir_elf32ppc=`echo "${targ_alias}" | sed -e 's/64//'`
+ tdir_elf32ppc_fbsd=$tdir_elf32ppc
+ ;;
powerpc*-*-linux*) case "${targ}" in
*64*) targ_emul=elf64ppc
targ_extra_emuls="elf32ppclinux elf32ppc elf32ppcsim"