On Sun, 7 Oct 2007, karvjorm at users dot sourceforge dot net wrote:
The following error message is a bit limited:
#: config/tc-cris.c:2110 config/tc-cris.c:2150
#, c-format
msgid "Immediate value not in 8 bit range: %ld"
source code:
if (instruction->imm_oprnd_size == SIZE_FIELD
&& (out_insnp->expr.X_add_number < -128
|| out_insnp->expr.X_add_number > 255))
as_bad (_("Immediate value not in 8 bit range: %ld"),
out_insnp->expr.X_add_number);
In the source code is actually checked, if value is below -128 or above 255 and
range is then greater than 8 bits.
Well, it's 8-bit signed *and* 8-bit unsigned: perhaps saying
"not in 8-bit signed or unsigned range" would sound better to you?
If you have a better wording to suggest, feel free.
brgds, H-P
_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils