aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-sh.c
diff options
context:
space:
mode:
authorBernd Schmidt <bernds@redhat.co.uk>2000-08-10 10:00:56 +0000
committerBernd Schmidt <bernds@redhat.co.uk>2000-08-10 10:00:56 +0000
commit00fdaf47d569ebbc021b5bdc8206b9c461387e44 (patch)
tree2f706fdae9ccb38c9ebac571ed80920a7b8748df /bfd/elf32-sh.c
parent8dccf761377be5a6f517a0aff131918511de90ed (diff)
downloadgdb-00fdaf47d569ebbc021b5bdc8206b9c461387e44.zip
gdb-00fdaf47d569ebbc021b5bdc8206b9c461387e44.tar.gz
gdb-00fdaf47d569ebbc021b5bdc8206b9c461387e44.tar.bz2
Fix bug in sh_elf_reloc_loop
Diffstat (limited to 'bfd/elf32-sh.c')
-rw-r--r--bfd/elf32-sh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elf32-sh.c b/bfd/elf32-sh.c
index a4954f8..eb333e2 100644
--- a/bfd/elf32-sh.c
+++ b/bfd/elf32-sh.c
@@ -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;