X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=bfd%2Felf64-sh64.c;h=60f13cdf42a1dde1430e96ed68397823c7223ffa;hb=dbaa2011452c7ce7ca612c6298964452dce179eb;hp=d19bb07d5e5305a2163ae62c77777a521a326394;hpb=d8fb5a1e650f75c70488d20782887422b997b897;p=thirdparty%2Fbinutils-gdb.git diff --git a/bfd/elf64-sh64.c b/bfd/elf64-sh64.c index d19bb07d5e5..60f13cdf42a 100644 --- a/bfd/elf64-sh64.c +++ b/bfd/elf64-sh64.c @@ -1514,7 +1514,7 @@ sh_elf64_relocate_section (bfd *output_bfd ATTRIBUTE_UNUSED, _("Unexpected STO_SH5_ISA32 on local symbol is not handled"), input_bfd, input_section, rel->r_offset)); - if (sec != NULL && elf_discarded_section (sec)) + if (sec != NULL && discarded_section (sec)) /* Handled below. */ ; else if (info->relocatable) @@ -1661,7 +1661,7 @@ sh_elf64_relocate_section (bfd *output_bfd ATTRIBUTE_UNUSED, } } - 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);