aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf64-mips.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/elf64-mips.c')
-rw-r--r--bfd/elf64-mips.c2
1 files changed, 1 insertions, 1 deletions
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
{