diff options
author | Nick Clifton <nickc@redhat.com> | 2011-06-13 15:57:19 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2011-06-13 15:57:19 +0000 |
commit | 09d9a62aafc6c20d5aaed1b505140a944c74c1ee (patch) | |
tree | 2621161afbcebac59bb073f6056302c7c9343d4a /bfd | |
parent | eb4b2452894a86b27593d36a706ba7994af09b0b (diff) | |
download | gdb-09d9a62aafc6c20d5aaed1b505140a944c74c1ee.zip gdb-09d9a62aafc6c20d5aaed1b505140a944c74c1ee.tar.gz gdb-09d9a62aafc6c20d5aaed1b505140a944c74c1ee.tar.bz2 |
* elf32-tilepro.c (tilepro_elf_check_relocs): Delete unused local
variable 'local_got_offsets'.
* elfxx-tilegx.c (tilegx_elf_check_relocs): Likewise.
(tilegx_finish_dyn): Delete unused local variable 'abi_64_p'.
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 7 | ||||
-rw-r--r-- | bfd/elf32-tilepro.c | 2 | ||||
-rw-r--r-- | bfd/elfxx-tilegx.c | 4 |
3 files changed, 7 insertions, 6 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 69a881c..90cdbb4 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,10 @@ +2011-06-13 Nick Clifton <nickc@redhat.com> + + * elf32-tilepro.c (tilepro_elf_check_relocs): Delete unused local + variable 'local_got_offsets'. + * elfxx-tilegx.c (tilegx_elf_check_relocs): Likewise. + (tilegx_finish_dyn): Delete unused local variable 'abi_64_p'. + 2011-06-13 Walter Lee <walt@tilera.com> * Makefile.am (ALL_MACHINES): Add cpu-tilegx.lo and cpu-tilepro.lo. diff --git a/bfd/elf32-tilepro.c b/bfd/elf32-tilepro.c index 8a2e6d5..154db75 100644 --- a/bfd/elf32-tilepro.c +++ b/bfd/elf32-tilepro.c @@ -1299,7 +1299,6 @@ tilepro_elf_check_relocs (bfd *abfd, struct bfd_link_info *info, struct tilepro_elf_link_hash_table *htab; Elf_Internal_Shdr *symtab_hdr; struct elf_link_hash_entry **sym_hashes; - bfd_vma *local_got_offsets; const Elf_Internal_Rela *rel; const Elf_Internal_Rela *rel_end; asection *sreloc; @@ -1311,7 +1310,6 @@ tilepro_elf_check_relocs (bfd *abfd, struct bfd_link_info *info, htab = tilepro_elf_hash_table (info); symtab_hdr = &elf_tdata (abfd)->symtab_hdr; sym_hashes = elf_sym_hashes (abfd); - local_got_offsets = elf_local_got_offsets (abfd); sreloc = NULL; diff --git a/bfd/elfxx-tilegx.c b/bfd/elfxx-tilegx.c index a712d3a..3ec2d3f 100644 --- a/bfd/elfxx-tilegx.c +++ b/bfd/elfxx-tilegx.c @@ -1549,7 +1549,6 @@ tilegx_elf_check_relocs (bfd *abfd, struct bfd_link_info *info, struct tilegx_elf_link_hash_table *htab; Elf_Internal_Shdr *symtab_hdr; struct elf_link_hash_entry **sym_hashes; - bfd_vma *local_got_offsets; const Elf_Internal_Rela *rel; const Elf_Internal_Rela *rel_end; asection *sreloc; @@ -1561,7 +1560,6 @@ tilegx_elf_check_relocs (bfd *abfd, struct bfd_link_info *info, htab = tilegx_elf_hash_table (info); symtab_hdr = &elf_tdata (abfd)->symtab_hdr; sym_hashes = elf_sym_hashes (abfd); - local_got_offsets = elf_local_got_offsets (abfd); sreloc = NULL; @@ -3767,14 +3765,12 @@ tilegx_finish_dyn (bfd *output_bfd, struct bfd_link_info *info, const struct elf_backend_data *bed; bfd_byte *dyncon, *dynconend; size_t dynsize; - bfd_boolean abi_64_p; htab = tilegx_elf_hash_table (info); BFD_ASSERT (htab != NULL); bed = get_elf_backend_data (output_bfd); dynsize = bed->s->sizeof_dyn; dynconend = sdyn->contents + sdyn->size; - abi_64_p = ABI_64_P (output_bfd); for (dyncon = sdyn->contents; dyncon < dynconend; dyncon += dynsize) { |