diff options
author | Alan Modra <amodra@gmail.com> | 2019-08-29 11:30:11 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2019-08-29 12:57:33 +0930 |
commit | dd9b12c2451f0e46e73ec54d8762727d428b4c14 (patch) | |
tree | 16eaf6d814475f3b04a3edd5319852d19aacbfa1 /gdb/testsuite/gdb.python/python-1.c | |
parent | 507685a390b47d853f22176273cb949e2ee8da81 (diff) | |
download | gdb-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