summaryrefslogtreecommitdiff
path: root/bfd/elf32-score.c
diff options
context:
space:
mode:
authorJose E. Marchesi <jose.marchesi@oracle.com>2017-06-06 00:33:20 -0700
committerJose E. Marchesi <jose.marchesi@oracle.com>2017-06-06 00:33:20 -0700
commit458ad2b83ecf4d764703767bccf19723ca741f00 (patch)
treed33327d4255679326927da35692191b7c10bf60f /bfd/elf32-score.c
parentfbebaf4a56dd03251bc2e12fa6834d90555aa82a (diff)
bfd: remove unused local variables in elf32-score, elf32-score7 and elfxx-mips
bfd/ChangeLog: 2017-06-06 Jose E. Marchesi <jose.marchesi@oracle.com> * 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.
Diffstat (limited to 'bfd/elf32-score.c')
-rw-r--r--bfd/elf32-score.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/bfd/elf32-score.c b/bfd/elf32-score.c
index a8914e672e..54294763fe 100644
--- a/bfd/elf32-score.c
+++ b/bfd/elf32-score.c
@@ -2034,10 +2034,8 @@ score_elf_final_link_relocate (reloc_howto_type *howto,
{
const Elf_Internal_Rela *relend;
const Elf_Internal_Rela *lo16_rel;
- const struct elf_backend_data *bed;
bfd_vma lo_value = 0;
- bed = get_elf_backend_data (output_bfd);
relend = relocs + input_section->reloc_count;
lo16_rel = score_elf_next_relocation (input_bfd, R_SCORE_GOT_LO16, rel, relend);
if ((local_p) && (lo16_rel != NULL))
@@ -2778,7 +2776,6 @@ s3_bfd_score_elf_check_relocs (bfd *abfd,
const Elf_Internal_Rela *rel_end;
asection *sgot;
asection *sreloc;
- const struct elf_backend_data *bed;
if (bfd_link_relocatable (info))
return TRUE;
@@ -2807,7 +2804,6 @@ s3_bfd_score_elf_check_relocs (bfd *abfd,
}
sreloc = NULL;
- bed = get_elf_backend_data (abfd);
rel_end = relocs + sec->reloc_count;
for (rel = relocs; rel < rel_end; ++rel)
{