aboutsummaryrefslogtreecommitdiff
path: root/gas/ChangeLog
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2010-04-21 18:09:52 +0000
committerH.J. Lu <hjl.tools@gmail.com>2010-04-21 18:09:52 +0000
commit3c7b9c2c544319e9f148ef013e8706b1e484e4d5 (patch)
tree6f1bf375050d2bb96297c3f1a815a953ef3fc252 /gas/ChangeLog
parent0b66f3173809e422f3dfbab2a8afff7fb9fc0ef3 (diff)
downloadgdb-3c7b9c2c544319e9f148ef013e8706b1e484e4d5.zip
gdb-3c7b9c2c544319e9f148ef013e8706b1e484e4d5.tar.gz
gdb-3c7b9c2c544319e9f148ef013e8706b1e484e4d5.tar.bz2
Properly handle ".equ symbol, reg + NUM" in x86 Intel syntax.
gas/ 2010-04-21 H.J. Lu <hongjiu.lu@intel.com> PR gas/11509 * config/tc-i386-intel.c (i386_intel_simplify_register): New. (i386_intel_simplify): Use i386_is_register and i386_intel_simplify_register. Set X_md for O_register and check X_md for O_constant. (i386_intel_operand): Use i386_is_register. * config/tc-i386.c (i386_is_register): New. (x86_cons): Initialize the X_md field. Use i386_is_register. (parse_register): Use i386_is_register. (tc_x86_parse_to_dw2regnum): Likewise. gas/testsuite/ 2010-04-21 H.J. Lu <hongjiu.lu@intel.com> PR gas/11509 * gas/i386/equ.s: Add tests for ".equ symbol, reg + NUM". * gas/i386/equ.d: Updated.
Diffstat (limited to 'gas/ChangeLog')
-rw-r--r--gas/ChangeLog14
1 files changed, 14 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 8dcc359..2514b28 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,5 +1,19 @@
2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
+ PR gas/11509
+ * config/tc-i386-intel.c (i386_intel_simplify_register): New.
+ (i386_intel_simplify): Use i386_is_register and
+ i386_intel_simplify_register. Set X_md for O_register and
+ check X_md for O_constant.
+ (i386_intel_operand): Use i386_is_register.
+
+ * config/tc-i386.c (i386_is_register): New.
+ (x86_cons): Initialize the X_md field. Use i386_is_register.
+ (parse_register): Use i386_is_register.
+ (tc_x86_parse_to_dw2regnum): Likewise.
+
+2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
+
* expr.c (expr): Initialize the X_md field.
2010-04-20 Joseph Myers <joseph@codesourcery.com>