diff options
author | Alan Modra <amodra@bigpond.net.au> | 2008-04-08 05:48:28 +0000 |
---|---|---|
committer | Alan Modra <amodra@bigpond.net.au> | 2008-04-08 05:48:28 +0000 |
commit | b652e7f43cb7db7956cca4efc24442e49eea21b9 (patch) | |
tree | ca16265ce78f0ff3d1493b2654501dc5f183cd3e /bfd/elf32-spu.c | |
parent | cb25b74de39095eda56b1a3a384914ad9b320a72 (diff) | |
download | binutils-redhat-b652e7f43cb7db7956cca4efc24442e49eea21b9.tar.gz |
* 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.
Diffstat (limited to 'bfd/elf32-spu.c')
-rw-r--r-- | bfd/elf32-spu.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bfd/elf32-spu.c b/bfd/elf32-spu.c index c65a88b3e2..82da03f60a 100644 --- a/bfd/elf32-spu.c +++ b/bfd/elf32-spu.c @@ -1421,7 +1421,7 @@ spu_elf_build_stubs (struct bfd_link_info *info, int emit_syms) 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; } @@ -2067,7 +2067,7 @@ mark_functions_via_relocs (asection *sec, 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; @@ -3156,7 +3156,7 @@ auto_ovl_lib_functions (struct bfd_link_info *info, unsigned int lib_size) } /* 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. */ |