aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2011-03-31 14:17:34 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2011-03-31 14:17:34 +0000
commitc89ce65cd9f828f38cca3f5ef32e7defc18e9a73 (patch)
tree3b3f190160c94aba6011b0e87e581d274d7adb1a
parent545f57c6face499a80c75cd1e13499f0216209a1 (diff)
downloadgdb-c89ce65cd9f828f38cca3f5ef32e7defc18e9a73.zip
gdb-c89ce65cd9f828f38cca3f5ef32e7defc18e9a73.tar.gz
gdb-c89ce65cd9f828f38cca3f5ef32e7defc18e9a73.tar.bz2
bfd/
* elf32-tic6x.c (elf32_tic6x_relocate_section): Remove unused variable dynobj and its initialization.
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/elf32-tic6x.c2
2 files changed, 5 insertions, 2 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index cefd8a7..c0d8d6a 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+2011-03-31 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * elf32-tic6x.c (elf32_tic6x_relocate_section): Remove unused variable
+ dynobj and its initialization.
+
2011-03-31 Tristan Gingold <gingold@adacore.com>
* makefile.vms (DEFS): Add HAVE_bfd_elf64_ia64_vms_vec.
diff --git a/bfd/elf32-tic6x.c b/bfd/elf32-tic6x.c
index 7708e05..4836d88 100644
--- a/bfd/elf32-tic6x.c
+++ b/bfd/elf32-tic6x.c
@@ -2054,7 +2054,6 @@ elf32_tic6x_relocate_section (bfd *output_bfd,
Elf_Internal_Sym *local_syms,
asection **local_sections)
{
- bfd *dynobj;
struct elf32_tic6x_link_hash_table *htab;
Elf_Internal_Shdr *symtab_hdr;
struct elf_link_hash_entry **sym_hashes;
@@ -2064,7 +2063,6 @@ elf32_tic6x_relocate_section (bfd *output_bfd,
bfd_boolean ok = TRUE;
htab = elf32_tic6x_hash_table (info);
- dynobj = elf_hash_table (info)->dynobj;
symtab_hdr = & elf_symtab_hdr (input_bfd);
sym_hashes = elf_sym_hashes (input_bfd);
local_got_offsets = elf_local_got_offsets (input_bfd);