]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - bfd/elf32-cr16.c
PR ld/13991
[thirdparty/binutils-gdb.git] / bfd / elf32-cr16.c
index 1f2fb49333739df96d024b1bb2c2b34b8686b7bb..a162191c8bd561958ceb05029308a71ad5274b50 100644 (file)
@@ -1431,7 +1431,7 @@ elf32_cr16_relocate_section (bfd *output_bfd, struct bfd_link_info *info,
                                    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);