Browse Source

PR gas/5078

* config/tc-avr.c (avr_get_constant): Extend error message to mention that the constant must be positive.
insight_6_8-branch
Nick Clifton 19 years ago
parent
commit
73f4d86e6b
  1. 7
      gas/ChangeLog
  2. 2
      gas/config/tc-avr.c

7
gas/ChangeLog

@ -1,5 +1,12 @@
2007-10-03 Nick Clifton <nickc@redhat.com>
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 <nickc@redhat.com>
* config/tc-avr.c (avr_get_constant):
PR gas/5089
* config/tc-arm.c (s_arm_unwind_handlerdata): Fix spelling typo.
PR gas/5090

2
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;
}

Loading…
Cancel
Save