]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
x86: make offset_in_range()'s warning contents useful (again)
authorJan Beulich <jbeulich@suse.com>
Tue, 15 Jun 2021 05:58:57 +0000 (07:58 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 15 Jun 2021 05:58:57 +0000 (07:58 +0200)
commit86f041462ec31a02efbcecdce8ee52ed2f340a68
treeacf4d23241bcef4e813336aac49d2a49d1bc9954
parent4fe51f7d3ce96953a62c493b8c2615f8577c0f11
x86: make offset_in_range()'s warning contents useful (again)

In case there is something which gets shortened (perhaps only on a BFD64
build targeting a 32-bit binary), seeing the full original value is
often helpful to understand what's actually going wrong. Of course for
non-64-bit binaries we better wouldn't be seeing such warnings at all,
as they're often indicative of a behavioral difference between BFD64 and
!BFD64 builds.

Prior to "gas: drop sprint_value()", which introduced the use of
bfd_sprintf_vma(), the output had other shortcomings.
gas/ChangeLog
gas/config/tc-i386.c