From 30d10e9ee899e608cf3a9f025b32122be8202141 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/aout-ns32k.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bfd/aout-ns32k.c') diff --git a/bfd/aout-ns32k.c b/bfd/aout-ns32k.c index ea7d8f4..9a0737d 100644 --- a/bfd/aout-ns32k.c +++ b/bfd/aout-ns32k.c @@ -1,6 +1,6 @@ /* BFD back-end for ns32k a.out-ish binaries. Copyright 1990, 1991, 1992, 1994, 1995, 1996, 1998, 1999, 2000, 2001, - 2002, 2003, 2005, 2006, 2007 Free Software Foundation, Inc. + 2002, 2003, 2005, 2006, 2007, 2010 Free Software Foundation, Inc. Contributed by Ian Dall (idall@eleceng.adelaide.edu.au). This file is part of BFD, the Binary File Descriptor library. @@ -214,7 +214,7 @@ MY (bfd_reloc_type_lookup) (bfd *abfd, bfd_reloc_code_real_type code) BFD_ASSERT (ext == 0); 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.1