]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - bfd/elf32-m68k.c
PR ld/13991
[thirdparty/binutils-gdb.git] / bfd / elf32-m68k.c
index 91ae2df17364b256ee2b80d3ef6dc15ccb7252de..47dece2c4e02e8b52c556933189a1c14bda0ba87 100644 (file)
@@ -3710,7 +3710,7 @@ elf_m68k_relocate_section (output_bfd, info, input_bfd, input_section,
                                   unresolved_reloc, warned);
        }
 
-      if (sec != NULL && elf_discarded_section (sec))
+      if (sec != NULL && discarded_section (sec))
        RELOC_AGAINST_DISCARDED_SECTION (info, input_bfd, input_section,
                                         rel, relend, howto, contents);