diff options
author | Alan Modra <amodra@gmail.com> | 2010-08-25 07:02:40 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2010-08-25 07:02:40 +0000 |
commit | 30d10e9ee899e608cf3a9f025b32122be8202141 (patch) | |
tree | afd0796d21e5bbfec16edea2dead03dfff557f18 /bfd/reloc.c | |
parent | 8d06853ec69b274b573df0ac2f5c00e2aa8d0daa (diff) | |
download | fsf-binutils-gdb-30d10e9ee899e608cf3a9f025b32122be8202141.zip fsf-binutils-gdb-30d10e9ee899e608cf3a9f025b32122be8202141.tar.gz fsf-binutils-gdb-30d10e9ee899e608cf3a9f025b32122be8202141.tar.bz2 |
* aout-arm.c (MY(bfd_reloc_type_lookup)): Use bfd_arch_bits_per_address.
* aout-ns32k.c (MY(bfd_reloc_type_lookup)): Likewise.
* aoutx.h (NAME(aout,reloc_type_lookup)): Likewise.
* coff-arm.c (coff_arm_reloc_type_lookup): Likewise.
* elf-hppa.h (elf_hppa_reloc_final_type): Likewise.
* reloc.c (bfd_default_reloc_type_lookup): Likewise.
* riscix.c (riscix_reloc_type_lookup): Likewise.
Diffstat (limited to 'bfd/reloc.c')
-rw-r--r-- | bfd/reloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/reloc.c b/bfd/reloc.c index f8a39c9..e7210eb 100644 --- a/bfd/reloc.c +++ b/bfd/reloc.c @@ -5572,7 +5572,7 @@ bfd_default_reloc_type_lookup (bfd *abfd, bfd_reloc_code_real_type code) case BFD_RELOC_CTOR: /* The type of reloc used in a ctor, which will be as wide as the address - so either a 64, 32, or 16 bitter. */ - switch (bfd_get_arch_info (abfd)->bits_per_address) + switch (bfd_arch_bits_per_address (abfd)) { case 64: BFD_FAIL (); |