From 43fd16e4a318380a8c9e590979c6da41de6558dd Mon Sep 17 00:00:00 2001 From: Jan Beulich Date: Wed, 14 Sep 2005 06:33:25 +0000 Subject: [PATCH] gas/ 2005-09-14 Jan Beulich * 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. --- gas/ChangeLog | 6 ++++++ gas/config/tc-i386.c | 12 ++++++++++-- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index a560e4a11f..c8b457e2fc 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,9 @@ +2005-09-14 Jan Beulich + + * 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 * 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 6542e5487f..b562b765e3 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;