diff options
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); } |