aboutsummaryrefslogtreecommitdiff
path: root/opcodes/ppc-opc.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2016-05-19 16:54:54 +0930
committerAlan Modra <amodra@gmail.com>2016-05-19 16:56:02 +0930
commit514e58b726338c24b672d96bd48f8ce8a47f7803 (patch)
treee895abf7f78eaa647c17432e1ecd620865023c81 /opcodes/ppc-opc.c
parente43de63c8fd11a15d7c6c852747c81664c0beb2a (diff)
downloadgdb-514e58b726338c24b672d96bd48f8ce8a47f7803.zip
gdb-514e58b726338c24b672d96bd48f8ce8a47f7803.tar.gz
gdb-514e58b726338c24b672d96bd48f8ce8a47f7803.tar.bz2
Correct "Fix powerpc subis range"
* ppc-opc.c (NSISIGNOPT): Use insert_nsi and extract_nsi.
Diffstat (limited to 'opcodes/ppc-opc.c')
-rw-r--r--opcodes/ppc-opc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/opcodes/ppc-opc.c b/opcodes/ppc-opc.c
index 1c03c88..b44ce0f 100644
--- a/opcodes/ppc-opc.c
+++ b/opcodes/ppc-opc.c
@@ -499,7 +499,7 @@ const struct powerpc_operand powerpc_operands[] =
/* The NSI field in a D form instruction when we accept a wide range
of positive values. */
#define NSISIGNOPT NSI + 1
- { 0xffff, 0, NULL, NULL,
+ { 0xffff, 0, insert_nsi, extract_nsi,
PPC_OPERAND_NEGATIVE | PPC_OPERAND_SIGNED | PPC_OPERAND_SIGNOPT },
/* The RA field in an D, DS, DQ, X, XO, M, or MDS form instruction. */