From cf35638d431e230d51d54550e8a249e730264ea5 Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Fri, 24 Sep 2010 12:14:26 +0000 Subject: 2010-09-24 Thomas Schwinge * 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. --- bfd/elf64-mips.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bfd/elf64-mips.c') diff --git a/bfd/elf64-mips.c b/bfd/elf64-mips.c index bb079cf..5001d42 100644 --- a/bfd/elf64-mips.c +++ b/bfd/elf64-mips.c @@ -2619,7 +2619,7 @@ mips_elf64_slurp_one_reloc_table (bfd *abfd, asection *asect, default: if (! used_sym) { - if (rela.r_sym == 0) + if (rela.r_sym == STN_UNDEF) relent->sym_ptr_ptr = bfd_abs_section_ptr->symbol_ptr_ptr; else { -- cgit v1.1