* elf32-arm.h (elf32_arm_final_link_relocate): Don't copy STN_UNDEF
[deliverable/binutils-gdb.git] / bfd / elf64-sparc.c
index cd0d914de5c18d840823d833f96bde6663e499db..eef19aad5db9b482753a48c5e328d3591345f6f7 100644 (file)
@@ -2103,7 +2103,7 @@ sparc64_elf_relocate_section (output_bfd, info, input_bfd, input_section,
 
       /* When generating a shared object, these relocations are copied
         into the output file to be resolved at run time.  */
-      if (info->shared && (input_section->flags & SEC_ALLOC))
+      if (info->shared && r_symndx != 0 && (input_section->flags & SEC_ALLOC))
        {
          switch (r_type)
            {
This page took 0.023019 seconds and 4 git commands to generate.