Require REX prefix to encode R_X86_64_GOTTPOFF

32 views
Skip to first unread message

H.J.

unread,
Nov 7, 2014, 6:00:21 PM11/7/14
to x32...@googlegroups.com
As this linker bug:


shows that structions with R_X86_64_GOTTPOFF relocation must be encoded with REX
prefix even if it isn't required by destination register.  Otherwise linker can't safely perform
IE -> LE optimization.  I checked the fix into GNU binutils trunk and 2.25 branch:


I updated x86-64 psABI hjl/x32 branch:


to require REX prefix to encode instructions with  R_X86_64_GOTTPOFF relocation.


H.J.
Reply all
Reply to author
Forward
0 new messages