aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.python/python-1.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2019-08-29 11:30:11 +0930
committerAlan Modra <amodra@gmail.com>2019-08-29 12:57:33 +0930
commitdd9b12c2451f0e46e73ec54d8762727d428b4c14 (patch)
tree16eaf6d814475f3b04a3edd5319852d19aacbfa1 /gdb/testsuite/gdb.python/python-1.c
parent507685a390b47d853f22176273cb949e2ee8da81 (diff)
downloadgdb-dd9b12c2451f0e46e73ec54d8762727d428b4c14.zip
gdb-dd9b12c2451f0e46e73ec54d8762727d428b4c14.tar.gz
gdb-dd9b12c2451f0e46e73ec54d8762727d428b4c14.tar.bz2
PowerPC64 xlate_pcrel_opt
We can easily support an offset on the second instruction of a sequence marked with R_PPC64_PCREL_OPT. For example, pla ra,symbol@pcrel ld rt,off(ra) can be optimised to pld rt,symbol+off@pcrel nop * elf64-ppc.c (xlate_pcrel_opt): Add poff parameter. Allow offset on second insn, return it in poff. (ppc64_elf_relocate_section): Add offset to paddi addend for PCREL_OPT.
Diffstat (limited to 'gdb/testsuite/gdb.python/python-1.c')
0 files changed, 0 insertions, 0 deletions