* elf64-sparc.c (sparc64_elf_check_relocs): Fix thinko last change.

This commit is contained in:
Alan Modra 2004-04-15 06:03:59 +00:00
parent 15b43f483c
commit 019b892f34
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2004-04-15 Alan Modra <amodra@bigpond.net.au>
* elf64-sparc.c (sparc64_elf_check_relocs): Fix thinko last change.
2004-04-15 H.J. Lu <hongjiu.lu@intel.com>
* elflink.c (_bfd_elf_merge_symbol): Treat weak as strong only

View File

@ -2027,7 +2027,8 @@ sparc64_elf_relocate_section (output_bfd, info, input_bfd, input_section,
else
got_base = elf_hash_table (info)->hgot->root.u.def.value;
sgot = sreloc = NULL;
sgot = splt = sreloc = NULL;
if (dynobj != NULL)
splt = bfd_get_section_by_name (dynobj, ".plt");
rel = relocs;