aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2008-03-20 05:35:10 +0000
committerAlan Modra <amodra@gmail.com>2008-03-20 05:35:10 +0000
commitc65be8d78a6822e12d6037afdaddcde688f90f7a (patch)
treea2a6087ae9094b62e3ef353201e21527a89df19c /ld
parenteb42429a935fcf4d18085b7ba01137083cee8857 (diff)
downloadfsf-binutils-gdb-c65be8d78a6822e12d6037afdaddcde688f90f7a.zip
fsf-binutils-gdb-c65be8d78a6822e12d6037afdaddcde688f90f7a.tar.gz
fsf-binutils-gdb-c65be8d78a6822e12d6037afdaddcde688f90f7a.tar.bz2
bfd/
* elf32-spu.c (spu_elf_create_sections): Remove output_bfd parameter. (spu_elf_find_overlays, spu_elf_size_stubs): Likewise (process_stubs, discover_functions, build_call_tree): Likewise. (spu_elf_stack_analysis): Likewise. (spu_elf_check_vma): Likewise. Move. (struct call_info): Make "is_tail" a bitfield. (insert_callee): Clear fun->start and set fun->is_func if we find a non-tail call. * elf32-spu.h (spu_elf_create_sections): Update prototype. (spu_elf_find_overlays, spu_elf_size_stubs, spu_elf_check_vma): Ditto. ld/ * emultempl/spuelf.em: Update calls to elf32-spu.c funcs.
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog4
-rw-r--r--ld/emultempl/spuelf.em9
2 files changed, 8 insertions, 5 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index f79ac8a..64eacd5 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,7 @@
+2008-03-20 Alan Modra <amodra@bigpond.net.au>
+
+ * emultempl/spuelf.em: Update calls to elf32-spu.c funcs.
+
2008-03-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* aclocal.m4: Regenerate.
diff --git a/ld/emultempl/spuelf.em b/ld/emultempl/spuelf.em
index fa28212..3a8cf28 100644
--- a/ld/emultempl/spuelf.em
+++ b/ld/emultempl/spuelf.em
@@ -75,7 +75,7 @@ spu_after_open (void)
if (is_spu_target ()
&& !link_info.relocatable
&& link_info.input_bfds != NULL
- && !spu_elf_create_sections (link_info.output_bfd, &link_info,
+ && !spu_elf_create_sections (&link_info,
stack_analysis, emit_stack_syms))
einfo ("%X%P: can not create note section: %E\n");
@@ -198,11 +198,11 @@ spu_before_allocation (void)
one_lang_size_sections_pass (NULL, TRUE);
/* Find overlays by inspecting section vmas. */
- if (spu_elf_find_overlays (link_info.output_bfd, &link_info))
+ if (spu_elf_find_overlays (&link_info))
{
int ret;
- ret = spu_elf_size_stubs (link_info.output_bfd, &link_info,
+ ret = spu_elf_size_stubs (&link_info,
spu_place_special_section,
non_overlay_stubs);
if (ret == 0)
@@ -235,8 +235,7 @@ gld${EMULATION_NAME}_finish (void)
{
asection *s;
- s = spu_elf_check_vma (link_info.output_bfd,
- local_store_lo, local_store_hi);
+ s = spu_elf_check_vma (&link_info, local_store_lo, local_store_hi);
if (s != NULL)
einfo ("%X%P: %A exceeds local store range\n", s);
}