aboutsummaryrefslogtreecommitdiff
path: root/gdb/stack.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2008-12-10 06:32:52 +0000
committerAlan Modra <amodra@gmail.com>2008-12-10 06:32:52 +0000
commit64615358cc3bf603ff78364451421139343e2dc8 (patch)
treebfb8707a2c5adeb631463db92a4f24a368ad89e3 /gdb/stack.c
parentb0c4170911beec5bdad9a622b8ae8053a8dcc55e (diff)
downloadgdb-64615358cc3bf603ff78364451421139343e2dc8.zip
gdb-64615358cc3bf603ff78364451421139343e2dc8.tar.gz
gdb-64615358cc3bf603ff78364451421139343e2dc8.tar.bz2
bfd/
* elf32-spu.g (struct spu_elf_params, enum _ovly_flavour): New. (spu_elf_setup): Declare. (spu_elf_create_sections, spu_elf_size_stubs): Update prototype. (spu_elf_build_stubs, spu_elf_check_vma): Likewise. * elf32-spu.c (struct spu_link_hash_table): Add "params". Remove various other fields now in "params". Adjust code throughout. (struct call_info, struct function_info): Move earlier in file. (struct spu_elf_stack_info): Likewise. (spu_elf_setup): New function. (spu_elf_create_sections): Remove args other than "info". (spu_elf_size_stubs, spu_elf_build_stubs, spu_elf_check_vma): Likewise. (maybe_needs_stubs): Remove "output_bfd" arg. Adjust all calls. (interesting_section): Similarly with "obfd" arg. (needs_ovl_stub): Adjust output_section test. (allocate_spuear_stubs): Likewise. (OVL_STUB_SIZE): Don't define. (ovl_stub_size): New function, use in place of OVL_STUB_SIZE. (build_stub): Test params->ovly_flavour rather than OVL_STUB_SIZE. (spu_elf_auto_overlay): Remove args other than "info". Make use of size returned from spu_elf_load_ovl_mgr. (spu_elf_stack_analysis): Remove args other than "info". (spu_elf_relocate_section): Tidy setting of "ea". ld/ * emultempl/spuelf.em (params): New var, used instead of various others. Adjust use throughout file. (spu_after_open): Call spu_elf_setup. (spu_place_special_section): Tidy. (spu_elf_load_ovl_mgr): Return total size of sections loaded. Move code setting overlay section alignment to.. (spu_before_allocation): ..here.
Diffstat (limited to 'gdb/stack.c')
0 files changed, 0 insertions, 0 deletions