diff options
Diffstat (limited to 'meta/recipes-devtools/binutils/binutils/0012-fix-the-incorrect-assembling-for-ppc-wait-mnemonic.patch')
-rw-r--r-- | meta/recipes-devtools/binutils/binutils/0012-fix-the-incorrect-assembling-for-ppc-wait-mnemonic.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/meta/recipes-devtools/binutils/binutils/0012-fix-the-incorrect-assembling-for-ppc-wait-mnemonic.patch b/meta/recipes-devtools/binutils/binutils/0012-fix-the-incorrect-assembling-for-ppc-wait-mnemonic.patch new file mode 100644 index 0000000000..6a3b78f227 --- /dev/null +++ b/meta/recipes-devtools/binutils/binutils/0012-fix-the-incorrect-assembling-for-ppc-wait-mnemonic.patch | |||
@@ -0,0 +1,36 @@ | |||
1 | From e48767a0298e6ccf53d83fecc93bb6d26b595897 Mon Sep 17 00:00:00 2001 | ||
2 | From: Zhenhua Luo <zhenhua.luo@nxp.com> | ||
3 | Date: Sat, 11 Jun 2016 22:08:29 -0500 | ||
4 | Subject: [PATCH 12/15] fix the incorrect assembling for ppc wait mnemonic | ||
5 | |||
6 | Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com> | ||
7 | |||
8 | Upstream-Status: Pending | ||
9 | --- | ||
10 | opcodes/ppc-opc.c | 3 +-- | ||
11 | 1 file changed, 1 insertion(+), 2 deletions(-) | ||
12 | |||
13 | diff --git a/opcodes/ppc-opc.c b/opcodes/ppc-opc.c | ||
14 | index 3032631d4e..142f096ef4 100644 | ||
15 | --- a/opcodes/ppc-opc.c | ||
16 | +++ b/opcodes/ppc-opc.c | ||
17 | @@ -5325,7 +5325,6 @@ const struct powerpc_opcode powerpc_opcodes[] = { | ||
18 | {"ldepx", X(31,29), X_MASK, E500MC|PPCA2, 0, {RT, RA0, RB}}, | ||
19 | |||
20 | {"waitasec", X(31,30), XRTRARB_MASK, POWER8, POWER9, {0}}, | ||
21 | -{"wait", X(31,30), XWC_MASK, POWER9, 0, {WC}}, | ||
22 | |||
23 | {"lwepx", X(31,31), X_MASK, E500MC|PPCA2, 0, {RT, RA0, RB}}, | ||
24 | |||
25 | @@ -5379,7 +5378,7 @@ const struct powerpc_opcode powerpc_opcodes[] = { | ||
26 | |||
27 | {"waitrsv", X(31,62)|(1<<21), 0xffffffff, E500MC|PPCA2, 0, {0}}, | ||
28 | {"waitimpl", X(31,62)|(2<<21), 0xffffffff, E500MC|PPCA2, 0, {0}}, | ||
29 | -{"wait", X(31,62), XWC_MASK, E500MC|PPCA2, 0, {WC}}, | ||
30 | +{"wait", X(31,62), XWC_MASK, E500MC|PPCA2|POWER9, 0, {WC}}, | ||
31 | |||
32 | {"dcbstep", XRT(31,63,0), XRT_MASK, E500MC|PPCA2, 0, {RA0, RB}}, | ||
33 | |||
34 | -- | ||
35 | 2.20.1 | ||
36 | |||