diff options
author | Nick Clifton <nickc@redhat.com> | 2007-10-03 14:35:06 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2007-10-03 14:35:06 +0000 |
commit | 73f4d86e6bf362bd025556c33fecbdc341a88e95 (patch) | |
tree | 16909f916a95840dd2710aef6c99e36f509911ba /gas/config/tc-avr.c | |
parent | 6decc66226ccd3f085da349ecf5205e631e400dd (diff) | |
download | gdb-73f4d86e6bf362bd025556c33fecbdc341a88e95.zip gdb-73f4d86e6bf362bd025556c33fecbdc341a88e95.tar.gz gdb-73f4d86e6bf362bd025556c33fecbdc341a88e95.tar.bz2 |
PR gas/5078
* config/tc-avr.c (avr_get_constant): Extend error message to mention that the constant must be positive.
Diffstat (limited to 'gas/config/tc-avr.c')
-rw-r--r-- | gas/config/tc-avr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/config/tc-avr.c b/gas/config/tc-avr.c index fc6a0c7..6b5a761 100644 --- a/gas/config/tc-avr.c +++ b/gas/config/tc-avr.c @@ -501,7 +501,7 @@ avr_get_constant (char *str, int max) as_bad (_("constant value required")); if (ex.X_add_number > max || ex.X_add_number < 0) - as_bad (_("number must be less than %d"), max + 1); + as_bad (_("number must be positive and less than %d"), max + 1); return ex.X_add_number; } |