diff options
author | Jan Beulich <jbeulich@novell.com> | 2013-10-08 15:21:58 +0000 |
---|---|---|
committer | Jan Beulich <jbeulich@novell.com> | 2013-10-08 15:21:58 +0000 |
commit | 759d04b1369426465f513bbd5702242f749851ce (patch) | |
tree | d6c1526b75f2013c460d45545f66a1f3854775e8 /gas | |
parent | 56e521b7955494f6a9f3a480a0670413fff16038 (diff) | |
download | binutils-redhat-759d04b1369426465f513bbd5702242f749851ce.tar.gz |
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')
-rw-r--r-- | gas/ChangeLog | 5 | ||||
-rw-r--r-- | gas/config/tc-i386.c | 22 |
2 files changed, 13 insertions, 14 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 3712f8b996..58090047ca 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,5 +1,10 @@ 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. + +2013-10-08 Jan Beulich <jbeulich@suse.com> + * gas/config/tc-arm.c (do_t_push_pop): Honor inst.size_req. Simplify LR/PC check. diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c index f4e5c5199a..32f6d48aac 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; |