aboutsummaryrefslogtreecommitdiff
path: root/opcodes/i386-opc.h
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2007-09-18 00:56:54 +0000
committerH.J. Lu <hjl.tools@gmail.com>2007-09-18 00:56:54 +0000
commit20e192ab8df5502cd405ffd7fe5161985b8a2373 (patch)
tree180111f0d0c494e969ed6a5adedc769f6df0442a /opcodes/i386-opc.h
parentb10a8ae01c27969e5104f76209272fb457c1e20b (diff)
downloadgdb-20e192ab8df5502cd405ffd7fe5161985b8a2373.zip
gdb-20e192ab8df5502cd405ffd7fe5161985b8a2373.tar.gz
gdb-20e192ab8df5502cd405ffd7fe5161985b8a2373.tar.bz2
gas/
2007-09-17 H.J. Lu <hongjiu.lu@intel.com> * config/tc-i386.c (baseindex): Removed. (build_modrm_byte): Check reg_num for RIP register instead of reg_type. (i386_index_check): Likewise. opcodes/ 2007-09-17 H.J. Lu <hongjiu.lu@intel.com> * i386-opc.h (RegRip): New. * i386-reg.tbl (rip): Use RegRip for reg_num. * i386-tbl.h: Regenerated.
Diffstat (limited to 'opcodes/i386-opc.h')
-rw-r--r--opcodes/i386-opc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/opcodes/i386-opc.h b/opcodes/i386-opc.h
index 8a4f15b..00fbe1c 100644
--- a/opcodes/i386-opc.h
+++ b/opcodes/i386-opc.h
@@ -443,6 +443,7 @@ typedef struct
#define RegRex 0x1 /* Extended register. */
#define RegRex64 0x2 /* Extended 8 bit register. */
unsigned int reg_num;
+#define RegRip ((unsigned int ) ~0)
}
reg_entry;