Fix bug in sh_elf_reloc_loop

This commit is contained in:
Bernd Schmidt 2000-08-10 10:00:56 +00:00
parent 8dccf76137
commit 00fdaf47d5
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2000-08-10 Bernd Schmidt <bernds@cygnus.co.uk>
* elf32-sh.c (sh_elf_reloc_loop): Make LAST_SYMBOL_SECTION static.
2000-08-08 Jason Eckhardt <jle@cygnus.com>
* elf32-i860.c (elf32_i860_howto_table): Updated some fields.

View File

@ -464,7 +464,7 @@ sh_elf_reloc_loop (r_type, input_bfd, input_section, contents, addr,
bfd_vma start, end;
{
static bfd_vma last_addr;
asection *last_symbol_section;
static asection *last_symbol_section;
bfd_byte *free_contents = NULL;
bfd_byte *start_ptr, *ptr, *last_ptr;
int diff, cum_diff;