The following error message is shown when value (offset?) is below zero or
greater than 255. But error message reports only the latter. Also line number in
 reference is really 18711, not 18664.

#: config/tc-arm.c:18664
#, c-format
msgid "invalid immediate: %ld is too large"

source code:

if (value < 0 || value > 255)
 as_bad_where (fixP->fx_file, fixP->fx_line,
   _("invalid immediate: %ld is too large"),
    (long) value);

-- 
           Summary: Error message mismatches with the checked range
           Product: binutils
           Version: 2.17
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gas
        AssignedTo: unassigned at sources dot redhat dot com
        ReportedBy: karvjorm at users dot sourceforge dot net
                CC: bug-binutils at gnu dot org


http://sourceware.org/bugzilla/show_bug.cgi?id=5133

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to