diff options
author | Jan Beulich <jbeulich@novell.com> | 2008-08-27 16:24:32 +0000 |
---|---|---|
committer | Jan Beulich <jbeulich@novell.com> | 2008-08-27 16:24:32 +0000 |
commit | a87af0274f157bcf2d579dbb05bff098ba56693f (patch) | |
tree | a8229bbfc08124ec5ff72a8964d6fc84cbbfb164 /gas | |
parent | 3e88cf8dfb0b5645684f0f538c23385c9ec909f3 (diff) | |
download | gdb-a87af0274f157bcf2d579dbb05bff098ba56693f.zip gdb-a87af0274f157bcf2d579dbb05bff098ba56693f.tar.gz gdb-a87af0274f157bcf2d579dbb05bff098ba56693f.tar.bz2 |
gas/
2008-08-27 Jan Beulich <jbeulich@novell.com>
* config/tc-i386.c (check_string): Use register_prefix for error
message.
(process_operands): Likewise.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 6 | ||||
-rw-r--r-- | gas/config/tc-i386.c | 12 |
2 files changed, 13 insertions, 5 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index ebf6828..5e63625 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,9 @@ +2008-08-27 Jan Beulich <jbeulich@novell.com> + + * config/tc-i386.c (check_string): Use register_prefix for error + message. + (process_operands): Likewise. + 2008-08-26 Mark Mitchell <mark@codesourcery.com> * c-arm.texi: Add tutorial on ARM unwinding pseudo ops. diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c index 29ad7af..3083f28 100644 --- a/gas/config/tc-i386.c +++ b/gas/config/tc-i386.c @@ -3861,9 +3861,10 @@ check_string (void) { if (i.seg[0] != NULL && i.seg[0] != &es) { - as_bad (_("`%s' operand %d must use `%%es' segment"), + as_bad (_("`%s' operand %d must use `%ses' segment"), i.tm.name, - mem_op + 1); + mem_op + 1, + register_prefix); return 0; } /* There's only ever one segment override allowed per instruction. @@ -3876,9 +3877,10 @@ check_string (void) { if (i.seg[1] != NULL && i.seg[1] != &es) { - as_bad (_("`%s' operand %d must use `%%es' segment"), + as_bad (_("`%s' operand %d must use `%ses' segment"), i.tm.name, - mem_op + 2); + mem_op + 2, + register_prefix); return 0; } } @@ -4957,7 +4959,7 @@ duplicate: if (i.tm.base_opcode == POP_SEG_SHORT && i.op[0].regs->reg_num == 1) { - as_bad (_("you can't `pop %%cs'")); + as_bad (_("you can't `pop %scs'"), register_prefix); return 0; } i.tm.base_opcode |= (i.op[0].regs->reg_num << 3); |