[PATCH v2] x86-64: always use unsigned 32-bit relocation for 32-bit addressing

H.J. Lu hjl.tools@gmail.com
Tue Nov 14 16:38:00 GMT 2017


On Tue, Nov 14, 2017 at 8:31 AM, Jan Beulich <JBeulich@suse.com> wrote:
> Except for %eip-relative addressing, where we don't have a suitable
> relocation type silently wrapping at the 4G boundary, consistently
> force use of R_X86_64_32 (in ELF terms) instead of its sign-extending
> counterpart. This wasn't right in case there was no base register in
> the addressing expression.

Please open a bug report with your testcase to show incorrect result.
I need to study it very carefully.

Thanks.

-- 
H.J.



More information about the Binutils mailing list