aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2002-04-28 12:19:46 +0000
committerAlan Modra <amodra@gmail.com>2002-04-28 12:19:46 +0000
commit0f3f3d8bfbcfd232866edb14c9b2d02e312dbcf1 (patch)
tree79d5f440cf60c137a1f7d78d0d4f4d60a2c3589c
parent596dafeba1d6ceb806e44de11b3a0d2800d81465 (diff)
downloadgdb-0f3f3d8bfbcfd232866edb14c9b2d02e312dbcf1.zip
gdb-0f3f3d8bfbcfd232866edb14c9b2d02e312dbcf1.tar.gz
gdb-0f3f3d8bfbcfd232866edb14c9b2d02e312dbcf1.tar.bz2
* config/tc-i386.c: Formatting fixes, add missing space in error
message.
-rw-r--r--gas/ChangeLog7
-rw-r--r--gas/config/tc-i386.c27
2 files changed, 20 insertions, 14 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 8e49888..685dd30 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+2002-04-28 Alan Modra <amodra@bigpond.net.au>
+
+ * config/tc-i386.c: Formatting fixes, add missing space in error
+ message.
+
2002-04-24 Christian Groessler <chris@groessler.org>
* config/tc-z8k.c (build_bytes): Add support for new cases:
@@ -38,7 +43,7 @@
* config/tc-s390.c (tc_s390_fix_adjustable): Prevent adjustments to
symbols in merge sections.
-2002-04-16 Alan Modra <alan@weed.local>
+2002-04-16 Alan Modra <amodra@bigpond.net.au>
* as.c (main): Don't reference _bfd_chunksize.
diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c
index ec1da5c..35bdb94 100644
--- a/gas/config/tc-i386.c
+++ b/gas/config/tc-i386.c
@@ -2208,15 +2208,15 @@ process_suffix ()
/* For movzx and movsx, need to check the register type. */
if (intel_syntax
- && (i.tm.base_opcode == 0xfb6 || i.tm.base_opcode == 0xfbe))
- if (i.suffix && i.suffix == BYTE_MNEM_SUFFIX)
- {
- unsigned int prefix = DATA_PREFIX_OPCODE;
+ && (i.tm.base_opcode == 0xfb6 || i.tm.base_opcode == 0xfbe)
+ && i.suffix == BYTE_MNEM_SUFFIX)
+ {
+ unsigned int prefix = DATA_PREFIX_OPCODE;
- if ((i.op[1].regs->reg_type & Reg16) != 0)
- if (!add_prefix (prefix))
- return 0;
- }
+ if ((i.op[1].regs->reg_type & Reg16) != 0)
+ if (!add_prefix (prefix))
+ return 0;
+ }
if (i.suffix && i.suffix != BYTE_MNEM_SUFFIX)
{
@@ -2228,6 +2228,7 @@ process_suffix ()
else
i.tm.base_opcode |= 1;
}
+
/* Now select between word & dword operations via the operand
size prefix, except for instructions that will ignore this
prefix anyway. */
@@ -2309,7 +2310,7 @@ check_byte_reg ()
if (flag_code == CODE_64BIT
&& (i.tm.operand_types[op] & InOutPortReg) == 0)
{
- as_bad (_("Incorrect register `%%%s' used with`%c' suffix"),
+ as_bad (_("Incorrect register `%%%s' used with `%c' suffix"),
i.op[op].regs->reg_name,
i.suffix);
return 0;
@@ -2368,7 +2369,7 @@ check_long_reg ()
lowering is more complicated. */
if (flag_code == CODE_64BIT)
{
- as_bad (_("Incorrect register `%%%s' used with`%c' suffix"),
+ as_bad (_("Incorrect register `%%%s' used with `%c' suffix"),
i.op[op].regs->reg_name,
i.suffix);
return 0;
@@ -2385,7 +2386,7 @@ check_long_reg ()
else if ((i.types[op] & Reg64) != 0
&& (i.tm.operand_types[op] & (Reg32 | Acc)) != 0)
{
- as_bad (_("Incorrect register `%%%s' used with`%c' suffix"),
+ as_bad (_("Incorrect register `%%%s' used with `%c' suffix"),
i.op[op].regs->reg_name,
i.suffix);
return 0;
@@ -2417,7 +2418,7 @@ check_qword_reg ()
{
/* Prohibit these changes in the 64bit mode, since the
lowering is more complicated. */
- as_bad (_("Incorrect register `%%%s' used with`%c' suffix"),
+ as_bad (_("Incorrect register `%%%s' used with `%c' suffix"),
i.op[op].regs->reg_name,
i.suffix);
return 0;
@@ -2450,7 +2451,7 @@ check_word_reg ()
lowering is more complicated. */
if (flag_code == CODE_64BIT)
{
- as_bad (_("Incorrect register `%%%s' used with`%c' suffix"),
+ as_bad (_("Incorrect register `%%%s' used with `%c' suffix"),
i.op[op].regs->reg_name,
i.suffix);
return 0;