* elf32-arm.h (elf32_arm_final_link_relocate): Don't copy STN_UNDEF
[deliverable/binutils-gdb.git] / bfd / elf32-arm.h
index 838c24ff5564142a61b5629b568766bcdefd366d..83a2d6d7ff06b73b0fe7e761ae7967c5b4acabaf 100644 (file)
@@ -1116,6 +1116,7 @@ elf32_arm_final_link_relocate (howto, input_bfd, output_bfd,
       /* When generating a shared object, these relocations are copied
         into the output file to be resolved at run time.  */
       if (info->shared
+         && r_symndx != 0
          && (r_type != R_ARM_PC24
              || (h != NULL
                  && h->dynindx != -1
This page took 0.024207 seconds and 4 git commands to generate.