diff options
author | Alan Modra <amodra@gmail.com> | 2008-03-20 05:35:10 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2008-03-20 05:35:10 +0000 |
commit | c65be8d78a6822e12d6037afdaddcde688f90f7a (patch) | |
tree | a2a6087ae9094b62e3ef353201e21527a89df19c /ld/emultempl | |
parent | eb42429a935fcf4d18085b7ba01137083cee8857 (diff) | |
download | gdb-c65be8d78a6822e12d6037afdaddcde688f90f7a.zip gdb-c65be8d78a6822e12d6037afdaddcde688f90f7a.tar.gz 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/emultempl')
-rw-r--r-- | ld/emultempl/spuelf.em | 9 |
1 files changed, 4 insertions, 5 deletions
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); } |