aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf64-hppa.c
diff options
context:
space:
mode:
authorThomas Schwinge <tschwinge@gnu.org>2010-09-24 12:14:26 +0000
committerThomas Schwinge <tschwinge@gnu.org>2010-09-24 12:14:26 +0000
commitcf35638d431e230d51d54550e8a249e730264ea5 (patch)
treeeed3fbc4ab7982aac3fe5f38bb85e16bc80410d3 /bfd/elf64-hppa.c
parent2c2fa401c554831bacec9c920678ddda8ce69519 (diff)
downloadgdb-cf35638d431e230d51d54550e8a249e730264ea5.zip
gdb-cf35638d431e230d51d54550e8a249e730264ea5.tar.gz
gdb-cf35638d431e230d51d54550e8a249e730264ea5.tar.bz2
2010-09-24 Thomas Schwinge <thomas@codesourcery.com>
* elf32-arm.c, elf32-cris.c, elf32-hppa.c, elf32-i370.c, elf32-m32r.c, elf32-m68k.c, elf32-microblaze.c, elf32-ppc.c, elf32-score.c, elf32-score7.c, elf32-sh.c, elf32-vax.c, elf32-xtensa.c, elf64-alpha.c, elf64-hppa.c, elf64-mips.c, elf64-ppc.c, elf64-sparc.c, elfcode.h, elflink.c, elfxx-ia64.c, elfxx-mips.c: Use STN_UNDEF when referring to the zero symbol index.
Diffstat (limited to 'bfd/elf64-hppa.c')
-rw-r--r--bfd/elf64-hppa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elf64-hppa.c b/bfd/elf64-hppa.c
index ba6b1f8..4efab4f 100644
--- a/bfd/elf64-hppa.c
+++ b/bfd/elf64-hppa.c
@@ -2465,7 +2465,7 @@ elf64_hppa_finalize_dynreloc (struct elf_link_hash_entry *eh,
static enum elf_reloc_type_class
elf64_hppa_reloc_type_class (const Elf_Internal_Rela *rela)
{
- if (ELF64_R_SYM (rela->r_info) == 0)
+ if (ELF64_R_SYM (rela->r_info) == STN_UNDEF)
return reloc_class_relative;
switch ((int) ELF64_R_TYPE (rela->r_info))