aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@novell.com>2005-09-14 06:33:25 +0000
committerJan Beulich <jbeulich@novell.com>2005-09-14 06:33:25 +0000
commit43fd16e4a318380a8c9e590979c6da41de6558dd (patch)
tree16e5985939c2c721c0fc2c2b0d5dd95c6ff16882
parente74c8321fbc1a561e25a729eb52b019ccfb05cb2 (diff)
downloadgdb-43fd16e4a318380a8c9e590979c6da41de6558dd.zip
gdb-43fd16e4a318380a8c9e590979c6da41de6558dd.tar.gz
gdb-43fd16e4a318380a8c9e590979c6da41de6558dd.tar.bz2
gas/
2005-09-14 Jan Beulich <jbeulich@novell.com> * config/tc-i386.c (tc_x86_regname_to_dw2regnum): Add selector registers, floating point control and status words, and mxcsr as well as (for 64-bit code) segment base registers and rflags.
-rw-r--r--gas/ChangeLog6
-rw-r--r--gas/config/tc-i386.c12
2 files changed, 16 insertions, 2 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index a560e4a..c8b457e 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,9 @@
+2005-09-14 Jan Beulich <jbeulich@novell.com>
+
+ * config/tc-i386.c (tc_x86_regname_to_dw2regnum): Add selector
+ registers, floating point control and status words, and mxcsr as
+ well as (for 64-bit code) segment base registers and rflags.
+
2005-09-09 Dmitry Diky <diwil@spec.ru>
* config/tc-msp430.c (msp430_operands): Undo last changes. Instead...
diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c
index 6542e54..b562b76 100644
--- a/gas/config/tc-i386.c
+++ b/gas/config/tc-i386.c
@@ -6935,7 +6935,10 @@ tc_x86_regname_to_dw2regnum (const char *regname)
"xmm0", "xmm1", "xmm2", "xmm3",
"xmm4", "xmm5", "xmm6", "xmm7",
"mm0", "mm1", "mm2", "mm3",
- "mm4", "mm5", "mm6", "mm7"
+ "mm4", "mm5", "mm6", "mm7",
+ "fcw", "fsw", "mxcsr",
+ "es", "cs", "ss", "ds", "fs", "gs", NULL, NULL,
+ "tr", "ldtr"
};
static const char *const regnames_64[] =
{
@@ -6951,7 +6954,12 @@ tc_x86_regname_to_dw2regnum (const char *regname)
"st0", "st1", "st2", "st3",
"st4", "st5", "st6", "st7",
"mm0", "mm1", "mm2", "mm3",
- "mm4", "mm5", "mm6", "mm7"
+ "mm4", "mm5", "mm6", "mm7",
+ "rflags",
+ "es", "cs", "ss", "ds", "fs", "gs", NULL, NULL,
+ "fs.base", "gs.base", NULL, NULL,
+ "tr", "ldtr",
+ "mxcsr", "fcw", "fsw"
};
const char *const *regnames;