diff options
author | Alan Modra <amodra@bigpond.net.au> | 2010-06-27 04:07:50 +0000 |
---|---|---|
committer | Alan Modra <amodra@bigpond.net.au> | 2010-06-27 04:07:50 +0000 |
commit | 66f699d3eb5ba03231caea21f1b16549f2bb297a (patch) | |
tree | 5550c89cb23dff9867cd00a4003d4526997fb3e8 /bfd/elf32-sh.c | |
parent | b88f2e554360bba59a1743795bda874298ade519 (diff) | |
download | gdb-66f699d3eb5ba03231caea21f1b16549f2bb297a.tar.gz |
fix set but unused variable warnings
Diffstat (limited to 'bfd/elf32-sh.c')
-rw-r--r-- | bfd/elf32-sh.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/bfd/elf32-sh.c b/bfd/elf32-sh.c index 1b0daf96bba..bde565ee469 100644 --- a/bfd/elf32-sh.c +++ b/bfd/elf32-sh.c @@ -6092,15 +6092,10 @@ sh_elf_check_relocs (bfd *abfd, struct bfd_link_info *info, asection *sec, struct elf_sh_link_hash_table *htab; const Elf_Internal_Rela *rel; const Elf_Internal_Rela *rel_end; - bfd_vma *local_got_offsets; - asection *sgot; - asection *srelgot; asection *sreloc; unsigned int r_type; int got_type, old_got_type; - sgot = NULL; - srelgot = NULL; sreloc = NULL; if (info->relocatable) @@ -6115,8 +6110,6 @@ sh_elf_check_relocs (bfd *abfd, struct bfd_link_info *info, asection *sec, if (htab == NULL) return FALSE; - local_got_offsets = elf_local_got_offsets (abfd); - rel_end = relocs + sec->reloc_count; for (rel = relocs; rel < rel_end; rel++) { |