diff options
author | Ben Elliston <bje@au.ibm.com> | 2006-05-09 03:38:30 +0000 |
---|---|---|
committer | Ben Elliston <bje@au.ibm.com> | 2006-05-09 03:38:30 +0000 |
commit | e4d4d200c08f9bd2cef561f9acfb3464389d5dbe (patch) | |
tree | bbfb877a42292c07742a4cc2a1abc23b81eadb01 /bfd | |
parent | e8ef6eef514fd47e3d2c180f43cc2b8e77378c9e (diff) | |
download | gdb-e4d4d200c08f9bd2cef561f9acfb3464389d5dbe.zip gdb-e4d4d200c08f9bd2cef561f9acfb3464389d5dbe.tar.gz gdb-e4d4d200c08f9bd2cef561f9acfb3464389d5dbe.tar.bz2 |
* elf64-ppc.c (ppc64_elf_finish_dynamic_symbol): Remove unused
local variable `dynobj'.
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 9 | ||||
-rw-r--r-- | bfd/elf64-ppc.c | 2 |
2 files changed, 7 insertions, 4 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index a2138ba..cf6d030 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 c365303..1697d53 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) |