* elf32-arm.h (elf32_arm_final_link_relocate): Don't copy STN_UNDEF
[deliverable/binutils-gdb.git] / bfd / elf32-m68k.c
index 609e91a5371b22846fb2a03044acfa46eb08c959..a613024c24a8ece88f1dea608967931fe4c9167b 100644 (file)
@@ -1644,6 +1644,7 @@ elf_m68k_relocate_section (output_bfd, info, input_bfd, input_section,
        case R_68K_16:
        case R_68K_32:
          if (info->shared
+             && r_symndx != 0
              && (input_section->flags & SEC_ALLOC) != 0
              && ((r_type != R_68K_PC8
                   && r_type != R_68K_PC16
This page took 0.028304 seconds and 4 git commands to generate.