summaryrefslogtreecommitdiff
path: root/bfd/elf32-tilepro.c
diff options
context:
space:
mode:
authorwalt <walt>2012-09-17 18:01:16 +0000
committerwalt <walt>2012-09-17 18:01:16 +0000
commite427656c90a675cb7b23bdf329936596d62c3bd4 (patch)
treea19bf55493188b4d85693ad12b96b0fff9e075d5 /bfd/elf32-tilepro.c
parented14010851c777f93c427d0bd04053d0aa18ba45 (diff)
downloadbinutils-redhat-e427656c90a675cb7b23bdf329936596d62c3bd4.tar.gz
Remove unused got_base variable.
* elf32-tilepro.c (tilepro_elf_relocate_section): Remove unused got_base variable. * elfxx-tilegx.c (tilegx_elf_relocate_section): Ditto.
Diffstat (limited to 'bfd/elf32-tilepro.c')
-rw-r--r--bfd/elf32-tilepro.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/bfd/elf32-tilepro.c b/bfd/elf32-tilepro.c
index f522b38cf3..90fdacea9b 100644
--- a/bfd/elf32-tilepro.c
+++ b/bfd/elf32-tilepro.c
@@ -2785,7 +2785,6 @@ tilepro_elf_relocate_section (bfd *output_bfd, struct bfd_link_info *info,
Elf_Internal_Shdr *symtab_hdr;
struct elf_link_hash_entry **sym_hashes;
bfd_vma *local_got_offsets;
- bfd_vma got_base;
asection *sreloc;
Elf_Internal_Rela *rel;
Elf_Internal_Rela *relend;
@@ -2797,11 +2796,6 @@ tilepro_elf_relocate_section (bfd *output_bfd, struct bfd_link_info *info,
sym_hashes = elf_sym_hashes (input_bfd);
local_got_offsets = elf_local_got_offsets (input_bfd);
- if (elf_hash_table (info)->hgot == NULL)
- got_base = 0;
- else
- got_base = elf_hash_table (info)->hgot->root.u.def.value;
-
sreloc = elf_section_data (input_section)->sreloc;
rel = relocs;