aboutsummaryrefslogtreecommitdiff
path: root/gdb/inf-ttrace.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2014-02-19 14:23:12 +1030
committerAlan Modra <amodra@gmail.com>2014-02-19 14:53:50 +1030
commit7d4c687d5653e380cf69ac588563c9e273828353 (patch)
tree26974e8d7719fec7260986c632af4f85399ff64e /gdb/inf-ttrace.c
parente095146be2c9f27e20743810038dc372a0387f75 (diff)
downloadgdb-7d4c687d5653e380cf69ac588563c9e273828353.zip
gdb-7d4c687d5653e380cf69ac588563c9e273828353.tar.gz
gdb-7d4c687d5653e380cf69ac588563c9e273828353.tar.bz2
Control powerpc64-ld provision of register save/restore
This patch allows the user to override powerpc64-ld's default for providing linker generated register save and restore functions as used by gcc -Os code. Normally these are not provided by ld -r, so Linux kernel modules have needed to include their own copies. bfd/ * elf64-ppc.h (struct ppc64_elf_params): Add save_restore_funcs. * elf64-ppc.c (ppc64_elf_func_desc_adjust): Use it to control provision of out-of-line register save/restore routines. ld/ * emultempl/ppc64elf.em (params): Init new field. (ppc_create_output_section_statements): Set params.save_restore_funcs default. (PARSE_AND_LIST_*): Add support for --save-restore-funcs and --no-save-restore-funcs.
Diffstat (limited to 'gdb/inf-ttrace.c')
0 files changed, 0 insertions, 0 deletions