From: Ben Elliston Date: Tue, 9 May 2006 03:38:30 +0000 (+0000) Subject: * elf64-ppc.c (ppc64_elf_finish_dynamic_symbol): Remove unused X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e4d4d200c08f9bd2cef561f9acfb3464389d5dbe;p=binutils-gdb.git * elf64-ppc.c (ppc64_elf_finish_dynamic_symbol): Remove unused local variable `dynobj'. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index a2138ba5d09..cf6d0300c42 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2006-05-09 Ben Elliston + + * elf64-ppc.c (ppc64_elf_finish_dynamic_symbol): Remove unused + local variable `dynobj'. + 2006-05-05 Bjoern Haase * 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 c3653032c92..1697d532e98 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)