When defining a constant too long for the size specified, the warning message
itself may truncate the original value on some platforms.
For example, this code:
.word 0x1234567890
On x86-64, GAS correctly displays:
**** Warning:value 0x1234567890 truncated to 0x7890
Whereas on x86, GAS displays:
**** Warning:value 0x34567890 truncated to 0x34567890
It should be easy to fix it by making sure that the longest integer is used (see
attachment).
--
Summary: Displaying Truncated Values Incorrectly
Product: binutils
Version: unspecified
Status: NEW
Severity: enhancement
Priority: P3
Component: gas
AssignedTo: unassigned at sources dot redhat dot com
ReportedBy: evandro dot menezes at amd dot com
CC: bug-binutils at gnu dot org
http://sourceware.org/bugzilla/show_bug.cgi?id=5026
------- 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
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-binutils