summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Elliston <bje@au.ibm.com>2006-05-09 03:38:30 +0000
committerBen Elliston <bje@au.ibm.com>2006-05-09 03:38:30 +0000
commit5bee30fd39951ef80fc9315ec7c313ec7adf6d1e (patch)
tree8724fe8355ca9e00539b9d5a2398ac90bbeea0e8
parenta2e17a95d46f3b208321616243cbd6b7d83f8a4f (diff)
downloadbinutils-redhat-5bee30fd39951ef80fc9315ec7c313ec7adf6d1e.tar.gz
* elf64-ppc.c (ppc64_elf_finish_dynamic_symbol): Remove unused
local variable `dynobj'.
-rw-r--r--bfd/ChangeLog9
-rw-r--r--bfd/elf64-ppc.c2
2 files changed, 7 insertions, 4 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index a2138ba5d0..cf6d0300c4 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+2006-05-09 Ben Elliston <bje@au.ibm.com>
+
+ * elf64-ppc.c (ppc64_elf_finish_dynamic_symbol): Remove unused
+ local variable `dynobj'.
+
2006-05-05 Bjoern Haase <bjoern.m.haase@web.de>
* elf32-avr.c (elf32_avr_relax_delete_bytes): Iterate over all
@@ -103,8 +108,8 @@
`fail'.
* dwarf2.c (decode_line_info): Remove unused local variable
`basic_block'.
- * elfcode.h (elf_slurp_reloc_table_from_section): Remove unsed
- local varibale `s'.
+ * elfcode.h (elf_slurp_reloc_table_from_section): Remove unused
+ local variable `s'.
* tekhex.c (tekhex_write_object_contents): Remove unused local
variable `bytes_written'.
* aout-ns32k.c (MY_swap_std_reloc_out): Remove unused local
diff --git a/bfd/elf64-ppc.c b/bfd/elf64-ppc.c
index c3653032c9..1697d532e9 100644
--- a/bfd/elf64-ppc.c
+++ b/bfd/elf64-ppc.c
@@ -11102,13 +11102,11 @@ ppc64_elf_finish_dynamic_symbol (bfd *output_bfd,
Elf_Internal_Sym *sym)
{
struct ppc_link_hash_table *htab;
- bfd *dynobj;
struct plt_entry *ent;
Elf_Internal_Rela rela;
bfd_byte *loc;
htab = ppc_hash_table (info);
- dynobj = htab->elf.dynobj;
for (ent = h->plt.plist; ent != NULL; ent = ent->next)
if (ent->plt.offset != (bfd_vma) -1)