]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - bfd/elf32-spu.c
PR ld/13991
[thirdparty/binutils-gdb.git] / bfd / elf32-spu.c
index ab13b7bb4dfc2d2d12d6c370ef1671efcf5eb9fb..f5bc3ecdf494bce1b6bf02da5b338122f47ec1cb 100644 (file)
@@ -4896,7 +4896,7 @@ spu_elf_relocate_section (bfd *output_bfd,
          sym_name = h->root.root.string;
        }
 
-      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);