From 49ff4f115ad94f56296c81935b5046e879dad507 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Wed, 25 Aug 2010 07:02:40 +0000 Subject: * 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. --- bfd/aoutx.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bfd/aoutx.h') diff --git a/bfd/aoutx.h b/bfd/aoutx.h index c6327226f9..11598a000d 100644 --- a/bfd/aoutx.h +++ b/bfd/aoutx.h @@ -269,7 +269,7 @@ NAME (aout, reloc_type_lookup) (bfd *abfd, bfd_reloc_code_real_type code) int ext = obj_reloc_entry_size (abfd) == RELOC_EXT_SIZE; if (code == BFD_RELOC_CTOR) - switch (bfd_get_arch_info (abfd)->bits_per_address) + switch (bfd_arch_bits_per_address (abfd)) { case 32: code = BFD_RELOC_32; -- cgit v1.2.1