diff options
Diffstat (limited to 'bfd/elf32-i370.c')
-rw-r--r-- | bfd/elf32-i370.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elf32-i370.c b/bfd/elf32-i370.c index 67e6598..01f9fb8 100644 --- a/bfd/elf32-i370.c +++ b/bfd/elf32-i370.c @@ -1183,7 +1183,7 @@ i370_elf_relocate_section (bfd *output_bfd, case (int) R_I370_ADDR31: case (int) R_I370_ADDR16: if (info->shared - && r_symndx != 0) + && r_symndx != STN_UNDEF) { Elf_Internal_Rela outrel; bfd_byte *loc; |