Add Power 10 PLT instruction patterns
authorCarl Love <cel@us.ibm.com>
Thu, 29 Apr 2021 22:19:13 +0000 (17:19 -0500)
committerCarl Love <cel@us.ibm.com>
Mon, 7 Jun 2021 15:41:22 +0000 (10:41 -0500)
commitecac8d1c14acba1fd20b99c2481d0cab5887e3b7
tree6ac1ab466300a266982162dc7aa54f33fcc413b9
parentf1854e35d87ac3237e0d7a10224a1eff42e65297
Add Power 10 PLT instruction patterns

gdb/ChangeLog:

2021-06-07  Carl Love  <cel@us.ibm.com>

* ppc-tdep.h (ppc_insn_prefix_dform): Declare.
* ppc64-tdep.c(insn_md, insn_x, insn_xo): New macros.
(ppc64_plt_pcrel_entry_point, ppc64_pcrel_linkage1_target,
ppc64_pcrel_linkage2_target): New functions.
(ppc64_standard_linkage9, ppc64_standard_linkage10,
ppc64_standard_linkage11, ppc64_standard_linkage12): New ppc
instruction patterns.
(ppc64_standard_linkage9, ppc64_standard_linkage10,
ppc64_standard_linkage11, ppc64_standard_linkage12): New variables
in define MAX expression.
(ppc64_skip_trampoline_code_1): Handle ppc64_standard_linkage9,
ppc64_standard_linkage10, ppc64_standard_linkage11,
ppc64_standard_linkage12.
* (ppc_insn_prefix_dform): New function.
gdb/ChangeLog
gdb/ppc-tdep.h
gdb/ppc64-tdep.c
gdb/rs6000-tdep.c