Bug 5134 - Range checking mismatch with "offset too big" in gas-2.17.90.pot
Summary: Range checking mismatch with "offset too big" in gas-2.17.90.pot
Status: RESOLVED FIXED
Alias: None
Product: binutils
Classification: Unclassified
Component: gas (show other bugs)
Version: 2.17
: P2 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-06 08:56 UTC by Jorma Karvonen
Modified: 2007-10-08 10:20 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jorma Karvonen 2007-10-06 08:56:38 UTC
Error message does not report about lower range checking, but only about upper
range checking. Line number is also 18750.

#: config/tc-arm.c:18703
msgid "offset too big"

source code:

if (value < -0x1000 || value > 0xffff)
  as_bad_where (fixP->fx_file, fixP->fx_line,
    _("offset too big"));
Comment 1 Nick Clifton 2007-10-08 10:20:15 UTC
Hi Jorma,

  I have checked in a patch to change the text of the error message to "offset
out of range".

Cheers
  Nick