aboutsummaryrefslogtreecommitdiff
path: root/bfd/config.bfd
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2011-11-21 13:18:07 +0000
committerAlan Modra <amodra@gmail.com>2011-11-21 13:18:07 +0000
commit7b8e7dad7131b75d8e0e4f0560002006b91e8ff3 (patch)
treeb1fbd27eaa69acc8f8dab48194a658b367bde61c /bfd/config.bfd
parentfbdd3712c9896a56c4ec074d69dff4f4307da207 (diff)
downloadgdb-7b8e7dad7131b75d8e0e4f0560002006b91e8ff3.zip
gdb-7b8e7dad7131b75d8e0e4f0560002006b91e8ff3.tar.gz
gdb-7b8e7dad7131b75d8e0e4f0560002006b91e8ff3.tar.bz2
* config.bfd: Add vectors for powerpc and powerpc64-freebsd.
* configure.in (TDEFINES): Add rules for powerpc*-freebsd. * configure: Regenerate. * elf32-ppc.c: Add powerpc-freebsd definitions. * elf64-ppc.c: Add powerpc64-freebsd definitions. * targets.c: Add bits for powerpc and powerpc64-freebsd.
Diffstat (limited to 'bfd/config.bfd')
-rw-r--r--bfd/config.bfd10
1 files changed, 10 insertions, 0 deletions
diff --git a/bfd/config.bfd b/bfd/config.bfd
index a1fa2b6..5337ce5 100644
--- a/bfd/config.bfd
+++ b/bfd/config.bfd
@@ -1132,6 +1132,11 @@ case "${targ}" in
targ_selvecs=rs6000coff_vec
want64=true
;;
+ powerpc64-*-freebsd*)
+ targ_defvec=bfd_elf64_powerpc_freebsd_vec
+ targ_selvecs="bfd_elf64_powerpc_vec bfd_elf32_powerpc_vec bfd_elf32_powerpc_freebsd_vec bfd_elf32_powerpcle_vec rs6000coff_vec rs6000coff64_vec aix5coff64_vec"
+ want64=true
+ ;;
powerpc64-*-elf* | powerpc-*-elf64* | powerpc64-*-linux* | \
powerpc64-*-*bsd*)
targ_defvec=bfd_elf64_powerpc_vec
@@ -1144,6 +1149,11 @@ case "${targ}" in
want64=true
;;
#endif
+ powerpc-*-*freebsd*)
+ targ_defvec=bfd_elf32_powerpc_freebsd_vec
+ targ_selvecs="rs6000coff_vec bfd_elf32_powerpc_vec bfd_elf32_powerpcle_vec ppcboot_vec"
+ targ64_selvecs="bfd_elf64_powerpc_vec bfd_elf64_powerpcle_vec bfd_elf64_powerpc_freebsd_vec"
+ ;;
powerpc-*-*bsd* | powerpc-*-elf* | powerpc-*-sysv4* | powerpc-*-eabi* | \
powerpc-*-solaris2* | powerpc-*-linux-* | powerpc-*-rtems* | \
powerpc-*-chorus*)