* elf64-ppc.c (ppc64_elf_finish_dynamic_symbol): Remove unused
authorBen Elliston <bje@au.ibm.com>
Tue, 9 May 2006 03:38:30 +0000 (03:38 +0000)
committerBen Elliston <bje@au.ibm.com>
Tue, 9 May 2006 03:38:30 +0000 (03:38 +0000)
        local variable `dynobj'.

bfd/ChangeLog
bfd/elf64-ppc.c

index a2138ba5d09b20b0ebc7d182862c1d3218719c5d..cf6d0300c4278c068c8b7e6fcac560331a06541b 100644 (file)
@@ -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
        `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
index c3653032c9230786481f48af2e259787854a5c0e..1697d532e98df6b7b8ccb4ac3a209d7b0dc5a279 100644 (file)
@@ -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)