From 73f4d86e6bf362bd025556c33fecbdc341a88e95 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 3 Oct 2007 14:35:06 +0000 Subject: [PATCH] PR gas/5078 * config/tc-avr.c (avr_get_constant): Extend error message to mention that the constant must be positive. --- gas/ChangeLog | 7 +++++++ gas/config/tc-avr.c | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index c94d167acb..ef12adbdf5 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,5 +1,12 @@ 2007-10-03 Nick Clifton + PR gas/5078 + * config/tc-avr.c (avr_get_constant): Extend error message to + mention that the constant must be positive. + +2007-10-03 Nick Clifton + + * config/tc-avr.c (avr_get_constant): PR gas/5089 * config/tc-arm.c (s_arm_unwind_handlerdata): Fix spelling typo. PR gas/5090 diff --git a/gas/config/tc-avr.c b/gas/config/tc-avr.c index fc6a0c7a11..6b5a761348 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; } -- 2.34.1