diff options
author | emachado <emachado> | 2012-11-08 14:16:31 +0000 |
---|---|---|
committer | emachado <emachado> | 2012-11-08 14:16:31 +0000 |
commit | c3c7632aa8128a730e1593adf482d7e270614b65 (patch) | |
tree | 23826d4633f62013e09f93d3fd02a3058d5838da /gdb/ppc-linux-tdep.c | |
parent | 6acea0d900a0746d55c028560beea2ad40ce9a7e (diff) | |
download | gdb-c3c7632aa8128a730e1593adf482d7e270614b65.tar.gz |
* ppc-linux-tdep.c (ppc64_standard_linkage1, ppc64_standard_linkage2,
ppc64_standard_linkage3): Mark ld r11 instructions as optional,
following the change in PLT call stubs on linker.
Diffstat (limited to 'gdb/ppc-linux-tdep.c')
-rw-r--r-- | gdb/ppc-linux-tdep.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gdb/ppc-linux-tdep.c b/gdb/ppc-linux-tdep.c index ccded83f11a..f88d69751f8 100644 --- a/gdb/ppc-linux-tdep.c +++ b/gdb/ppc-linux-tdep.c @@ -390,8 +390,8 @@ static struct insn_pattern ppc64_standard_linkage1[] = /* mtctr r11 */ { insn_xfx (-1, -1, -1, -1), insn_xfx (31, 11, 9, 467), 0 }, - /* ld r11, <any>(r12) */ - { insn_ds (-1, -1, -1, 0, -1), insn_ds (58, 11, 12, 0, 0), 0 }, + /* ld r11, <any>(r12) <optional> */ + { insn_ds (-1, -1, -1, 0, -1), insn_ds (58, 11, 12, 0, 0), 1 }, /* bctr */ { -1, 0x4e800420, 0 }, @@ -421,8 +421,8 @@ static struct insn_pattern ppc64_standard_linkage2[] = /* ld r2, <any>(r12) */ { insn_ds (-1, -1, -1, 0, -1), insn_ds (58, 2, 12, 0, 0), 0 }, - /* ld r11, <any>(r12) */ - { insn_ds (-1, -1, -1, 0, -1), insn_ds (58, 11, 12, 0, 0), 0 }, + /* ld r11, <any>(r12) <optional> */ + { insn_ds (-1, -1, -1, 0, -1), insn_ds (58, 11, 12, 0, 0), 1 }, /* bctr */ { -1, 0x4e800420, 0 }, @@ -446,8 +446,8 @@ static struct insn_pattern ppc64_standard_linkage3[] = /* mtctr r11 */ { insn_xfx (-1, -1, -1, -1), insn_xfx (31, 11, 9, 467), 0 }, - /* ld r11, <any>(r2) */ - { insn_ds (-1, -1, -1, 0, -1), insn_ds (58, 11, 2, 0, 0), 0 }, + /* ld r11, <any>(r2) <optional> */ + { insn_ds (-1, -1, -1, 0, -1), insn_ds (58, 11, 2, 0, 0), 1 }, /* ld r2, <any>(r2) */ { insn_ds (-1, -1, -1, 0, -1), insn_ds (58, 2, 2, 0, 0), 0 }, |