aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-i386.c
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@novell.com>2013-10-08 15:21:58 +0000
committerJan Beulich <jbeulich@novell.com>2013-10-08 15:21:58 +0000
commitcecf14249d7bfbdc56a358b187ecb0f93798842b (patch)
tree466dfad104213d7d8e40bd8d4fb6ce067937872d /gas/config/tc-i386.c
parent79e0e31dc950f8311a8bd2960db20bb930523e91 (diff)
downloadgdb-cecf14249d7bfbdc56a358b187ecb0f93798842b.zip
gdb-cecf14249d7bfbdc56a358b187ecb0f93798842b.tar.gz
gdb-cecf14249d7bfbdc56a358b187ecb0f93798842b.tar.bz2
gas/
2013-10-08 Jan Beulich <jbeulich@suse.com> * tc-i386.c (check_word_reg): Remove misplaced "else". (check_long_reg): Restore symmetry with check_word_reg.
Diffstat (limited to 'gas/config/tc-i386.c')
-rw-r--r--gas/config/tc-i386.c22
1 files changed, 8 insertions, 14 deletions
diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c
index f4e5c51..32f6d48 100644
--- a/gas/config/tc-i386.c
+++ b/gas/config/tc-i386.c
@@ -5434,13 +5434,10 @@ check_long_reg (void)
return 0;
}
#if REGISTER_WARNINGS
- else
- as_warn (_("using `%s%s' instead of `%s%s' due to `%c' suffix"),
- register_prefix,
- (i.op[op].regs + REGNAM_EAX - REGNAM_AX)->reg_name,
- register_prefix,
- i.op[op].regs->reg_name,
- i.suffix);
+ as_warn (_("using `%s%s' instead of `%s%s' due to `%c' suffix"),
+ register_prefix,
+ (i.op[op].regs + REGNAM_EAX - REGNAM_AX)->reg_name,
+ register_prefix, i.op[op].regs->reg_name, i.suffix);
#endif
}
/* Warn if the r prefix on a general reg is missing. */
@@ -5546,14 +5543,11 @@ check_word_reg (void)
i.suffix);
return 0;
}
- else
#if REGISTER_WARNINGS
- as_warn (_("using `%s%s' instead of `%s%s' due to `%c' suffix"),
- register_prefix,
- (i.op[op].regs + REGNAM_AX - REGNAM_EAX)->reg_name,
- register_prefix,
- i.op[op].regs->reg_name,
- i.suffix);
+ as_warn (_("using `%s%s' instead of `%s%s' due to `%c' suffix"),
+ register_prefix,
+ (i.op[op].regs + REGNAM_AX - REGNAM_EAX)->reg_name,
+ register_prefix, i.op[op].regs->reg_name, i.suffix);
#endif
}
return 1;