aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2010-07-12 20:36:01 +0000
committerH.J. Lu <hjl.tools@gmail.com>2010-07-12 20:36:01 +0000
commit92b4f90c9396389f075ada400791a5e2fc94f53d (patch)
tree6f5d7214a3ec2e75b901b0caf707720e2f5089bd
parenta2e4736229d6ce6f804ed26ea8d763c538de9d2c (diff)
downloadgdb-92b4f90c9396389f075ada400791a5e2fc94f53d.zip
gdb-92b4f90c9396389f075ada400791a5e2fc94f53d.tar.gz
gdb-92b4f90c9396389f075ada400791a5e2fc94f53d.tar.bz2
Restore fall through patch for O_multiply.
2010-07-12 H.J. Lu <hongjiu.lu@intel.com> PR gas/11806 * config/tc-i386-intel.c (i386_intel_simplify): Restore fall through patch for O_multiply.
-rw-r--r--gas/ChangeLog6
-rw-r--r--gas/config/tc-i386-intel.c2
2 files changed, 8 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 4ae098e..c7c1e57 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,9 @@
+2010-07-12 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR gas/11806
+ * config/tc-i386-intel.c (i386_intel_simplify): Restore fall
+ through patch for O_multiply.
+
2010-07-11 Kai Tietz <kai.tietz@onevision.com>
PR ld/11612
diff --git a/gas/config/tc-i386-intel.c b/gas/config/tc-i386-intel.c
index 186acc0..f415d71 100644
--- a/gas/config/tc-i386-intel.c
+++ b/gas/config/tc-i386-intel.c
@@ -434,6 +434,7 @@ static int i386_intel_simplify (expressionS *e)
break;
}
+ goto fallthrough;
case O_register:
ret = i386_intel_simplify_register (e);
@@ -452,6 +453,7 @@ static int i386_intel_simplify (expressionS *e)
/* FALLTHROUGH */
default:
+fallthrough:
if (e->X_add_symbol && !i386_intel_simplify_symbol (e->X_add_symbol))
return 0;
if (e->X_op == O_add || e->X_op == O_subtract)