Require REX prefix to encode R_X86_64_GOTTPOFF

23 views
Skip to first unread message

H.J.

unread,
Nov 7, 2014, 3:42:59 PM11/7/14
to ia32...@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.

H.J.

unread,
Nov 7, 2014, 6:00:57 PM11/7/14
to ia32...@googlegroups.com
Please ignore this.  I should posit it to x32 psABI group.
Reply all
Reply to author
Forward
0 new messages