+2008-04-08 Alan Modra <amodra@bigpond.net.au>
+
+ * elf32-spu.c (spu_elf_build_stubs): Correct error message.
+ (mark_functions_via_relocs): Remove premature init of symtab_hdr.
+ (collect_overlays): Commment typo fix.
+
2008-04-08 Kees Cook <kees@canonical.com>
* elflink.c (bfd_elf_size_dynamic_sections): Ignore GNU-stack note
if (spu_elf_section_data (s)->u.o.ovl_index)
{
(*_bfd_error_handler) (_("%s in overlay section"),
- h->root.u.def.section->owner);
+ h->root.root.string);
bfd_set_error (bfd_error_bad_value);
return FALSE;
}
int call_tree)
{
Elf_Internal_Rela *internal_relocs, *irelaend, *irela;
- Elf_Internal_Shdr *symtab_hdr = &elf_tdata (sec->owner)->symtab_hdr;
+ Elf_Internal_Shdr *symtab_hdr;
Elf_Internal_Sym *syms;
void *psyms;
static bfd_boolean warned;
}
/* Build an array of overlay sections. The deepest node's section is
- added first, the its parent node's section, then everything called
+ added first, then its parent node's section, then everything called
from the parent section. The idea being to group sections to
minimise calls between different overlays. */