aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-spu.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2009-03-19 07:04:12 +0000
committerAlan Modra <amodra@gmail.com>2009-03-19 07:04:12 +0000
commitad2adbc8be4dcdb881fb2c725c0d3a5d3e214afd (patch)
tree336a8fe5f1e4254dba02d47f62e6d6434b380778 /bfd/elf32-spu.h
parent0d371ad35608efa28b1ea2c01a457de59b59e3e1 (diff)
downloadgdb-ad2adbc8be4dcdb881fb2c725c0d3a5d3e214afd.zip
gdb-ad2adbc8be4dcdb881fb2c725c0d3a5d3e214afd.tar.gz
gdb-ad2adbc8be4dcdb881fb2c725c0d3a5d3e214afd.tar.bz2
bfd/
* elf32-spu.c (spu_elf_find_overlays): Separate error return from "no overlays" return. If there are overlays, create overlay manager entry symbols here, so that.. (spu_elf_build_stubs): ..we don't need to set them up here. Simplify entry symbol tests. * elf32-spu.h (spu_elf_find_overlays): Update prototype. ld/ * emultempl/spuelf.em (spu_before_allocation): Report errors from spu_elf_find_overlays.
Diffstat (limited to 'bfd/elf32-spu.h')
-rw-r--r--bfd/elf32-spu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elf32-spu.h b/bfd/elf32-spu.h
index c856791..d4d6a46 100644
--- a/bfd/elf32-spu.h
+++ b/bfd/elf32-spu.h
@@ -114,6 +114,6 @@ extern void spu_elf_plugin (int);
extern bfd_boolean spu_elf_open_builtin_lib (bfd **,
const struct _ovl_stream *);
extern bfd_boolean spu_elf_create_sections (struct bfd_link_info *);
-extern bfd_boolean spu_elf_find_overlays (struct bfd_link_info *);
+extern int spu_elf_find_overlays (struct bfd_link_info *);
extern int spu_elf_size_stubs (struct bfd_link_info *);
extern asection *spu_elf_check_vma (struct bfd_link_info *);