diff options
Diffstat (limited to 'bfd/elf32-i370.c')
-rw-r--r-- | bfd/elf32-i370.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bfd/elf32-i370.c b/bfd/elf32-i370.c index a93e9a7c12..3f9c9c1e21 100644 --- a/bfd/elf32-i370.c +++ b/bfd/elf32-i370.c @@ -1449,7 +1449,8 @@ i370_elf_relocate_section (output_bfd, info, input_bfd, input_section, object. */ case (int)R_I370_ADDR31: case (int)R_I370_ADDR16: - if (info->shared) + if (info->shared + && r_symndx != 0) { Elf_Internal_Rela outrel; boolean skip; |