* elflink.h (elf_link_record_local_dynamic_symbol): Remove unused

variables `link' and `elfsec'.
	(elf_bfd_final_link): Remove unused variable `os'.
This commit is contained in:
Andreas Schwab 1999-07-16 08:10:27 +00:00
parent d49560a9c3
commit 318da145ed
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,9 @@
1999-07-16 Andreas Schwab <schwab@suse.de>
* elflink.h (elf_link_record_local_dynamic_symbol): Remove unused
variables `link' and `elfsec'.
(elf_bfd_final_link): Remove unused variable `os'.
Thu Jul 15 17:55:31 1999 Mark P. Mitchell <mark@codesourcery.com> Thu Jul 15 17:55:31 1999 Mark P. Mitchell <mark@codesourcery.com>
* elf32-mips.c (_bfd_mips_elf_modify_segment_map): Don't require * elf32-mips.c (_bfd_mips_elf_modify_segment_map): Don't require

View File

@ -2062,7 +2062,6 @@ elf_link_record_local_dynamic_symbol (info, input_bfd, input_indx)
Elf_External_Sym esym; Elf_External_Sym esym;
unsigned long dynstr_index; unsigned long dynstr_index;
char *name; char *name;
int elfsec, link;
/* See if the entry exists already. */ /* See if the entry exists already. */
for (entry = elf_hash_table (info)->dynlocal; entry ; entry = entry->next) for (entry = elf_hash_table (info)->dynlocal; entry ; entry = entry->next)
@ -4189,7 +4188,7 @@ elf_bfd_final_link (abfd, info)
struct elf_link_local_dynamic_entry *e; struct elf_link_local_dynamic_entry *e;
for (e = elf_hash_table (info)->dynlocal; e ; e = e->next) for (e = elf_hash_table (info)->dynlocal; e ; e = e->next)
{ {
asection *s, *os; asection *s;
sym.st_size = e->isym.st_size; sym.st_size = e->isym.st_size;
sym.st_other = e->isym.st_other; sym.st_other = e->isym.st_other;