From 458ad2b83ecf4d764703767bccf19723ca741f00 Mon Sep 17 00:00:00 2001 From: "Jose E. Marchesi" Date: Tue, 6 Jun 2017 00:33:20 -0700 Subject: bfd: remove unused local variables in elf32-score, elf32-score7 and elfxx-mips bfd/ChangeLog: 2017-06-06 Jose E. Marchesi * elfxx-mips.c (_bfd_mips_elf_relocate_section): Remove unused variable `bed'. * elf32-score.c (score_elf_final_link_relocate): Likewise. (s3_bfd_score_elf_check_relocs): Likewise. * elf32-score7.c (s7_bfd_score_elf_relocate_section): Likewise. (score_elf_final_link_relocate): Likewise. (s7_bfd_score_elf_check_relocs): Likewise. --- bfd/elfxx-mips.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'bfd/elfxx-mips.c') diff --git a/bfd/elfxx-mips.c b/bfd/elfxx-mips.c index 1ef27f6..830207a 100644 --- a/bfd/elfxx-mips.c +++ b/bfd/elfxx-mips.c @@ -10031,9 +10031,7 @@ _bfd_mips_elf_relocate_section (bfd *output_bfd, struct bfd_link_info *info, const Elf_Internal_Rela *relend; bfd_vma addend = 0; bfd_boolean use_saved_addend_p = FALSE; - const struct elf_backend_data *bed; - bed = get_elf_backend_data (output_bfd); relend = relocs + input_section->reloc_count; for (rel = relocs; rel < relend; ++rel) { -- cgit v1.1