diff options
author | Alan Modra <amodra@gmail.com> | 2001-08-27 10:22:03 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2001-08-27 10:22:03 +0000 |
commit | 5bd4f1692e429a1f449953e3e645d3591485eca6 (patch) | |
tree | cd5421ff4cc28fee2f241f66512123a9b826f72e /bfd/targets.c | |
parent | aa91b392b36d6e597393893b67623abd5551b5c2 (diff) | |
download | gdb-5bd4f1692e429a1f449953e3e645d3591485eca6.zip gdb-5bd4f1692e429a1f449953e3e645d3591485eca6.tar.gz gdb-5bd4f1692e429a1f449953e3e645d3591485eca6.tar.bz2 |
* config.bfd: Add powerpc64 target. Add powerpc64 vectors to
targ64_selvecs for 32 bit powerpc targets.
* Makefile.am (BFD64_BACKENDS): Add elf64-ppc.lo.
(BFD64_BACKENDS_CFILES): Add elf64-ppc.c.
Run "make dep-am".
* Makefile.in: Regenerate.
* configure.in: Add elf64_powerpc vecs.
* configure: Regenerate.
* cpu-powerpc.c: Default to bfd_mach_ppc_620 entry for 64 bit.
* elf.c (prep_headers): EM_PPC64 for 64 bit ppc elf target.
* targets.c: Add bfd_elf64_powerpc_vec and bfd_elf64_powerpcle_vec.
* elf64-ppc.c: New file.
* reloc.c: Add powerpc64 relocs.
* libbfd.h: Regenerate.
* bfd-in2.h: Regenerate.
Diffstat (limited to 'bfd/targets.c')
-rw-r--r-- | bfd/targets.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bfd/targets.c b/bfd/targets.c index c46ecc3..0105ef6 100644 --- a/bfd/targets.c +++ b/bfd/targets.c @@ -571,6 +571,8 @@ extern const bfd_target bfd_elf64_little_generic_vec; extern const bfd_target bfd_elf64_littlemips_vec; extern const bfd_target bfd_elf64_tradbigmips_vec; extern const bfd_target bfd_elf64_tradlittlemips_vec; +extern const bfd_target bfd_elf64_powerpc_vec; +extern const bfd_target bfd_elf64_powerpcle_vec; extern const bfd_target bfd_elf64_s390_vec; extern const bfd_target bfd_elf64_sparc_vec; extern const bfd_target bfd_elf64_x86_64_vec; @@ -782,6 +784,10 @@ static const bfd_target * const _bfd_target_vector[] = { &bfd_elf32_pjl_vec, &bfd_elf32_powerpc_vec, &bfd_elf32_powerpcle_vec, +#ifdef BFD64 + &bfd_elf64_powerpc_vec, + &bfd_elf64_powerpcle_vec, +#endif &bfd_elf32_sparc_vec, &bfd_elf32_v850_vec, &bfd_elf32_fr30_vec, |