* elf32-arm.h (elf32_arm_final_link_relocate): Don't copy STN_UNDEF
[deliverable/binutils-gdb.git] / bfd / elf32-mips.c
index 6b0c7a46adf929c20d3de882a0249f9e78b3c023..b40c56e68b3ae89c88f54f3710d0bf3a3756166f 100644 (file)
@@ -6325,6 +6325,7 @@ mips_elf_calculate_relocation (abfd,
                    & ELF_LINK_HASH_DEF_DYNAMIC) != 0)
               && ((h->root.elf_link_hash_flags
                    & ELF_LINK_HASH_DEF_REGULAR) == 0)))
+         && r_symndx != 0
          && (input_section->flags & SEC_ALLOC) != 0)
        {
          /* If we're creating a shared library, or this relocation is
This page took 0.024329 seconds and 4 git commands to generate.