diff options
author | Alan Modra <amodra@bigpond.net.au> | 2010-08-25 07:02:40 +0000 |
---|---|---|
committer | Alan Modra <amodra@bigpond.net.au> | 2010-08-25 07:02:40 +0000 |
commit | 49ff4f115ad94f56296c81935b5046e879dad507 (patch) | |
tree | 9ba523243e35dfd54c5ad629fb7425341bb6c63f /bfd/elf-hppa.h | |
parent | 63265537820436902c47f859521e0a58722bdfd7 (diff) | |
download | binutils-redhat-49ff4f115ad94f56296c81935b5046e879dad507.tar.gz |
* 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/elf-hppa.h')
-rw-r--r-- | bfd/elf-hppa.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bfd/elf-hppa.h b/bfd/elf-hppa.h index 51a9484e00..3fa9dedbd0 100644 --- a/bfd/elf-hppa.h +++ b/bfd/elf-hppa.h @@ -1,5 +1,6 @@ /* Common code for PA ELF implementations. - Copyright 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 + Copyright 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, + 2009, 2010 Free Software Foundation, Inc. This file is part of BFD, the Binary File Descriptor library. @@ -678,7 +679,7 @@ elf_hppa_reloc_final_type (bfd *abfd, /* When in 64bit mode, a 32bit relocation is supposed to be a section relative relocation. Dwarf2 (for example) uses 32bit section relative relocations. */ - if (bfd_get_arch_info (abfd)->bits_per_address != 32) + if (bfd_arch_bits_per_address (abfd) != 32) final_type = R_PARISC_SECREL32; break; case e_psel: |