DescriptionGet rid of prefixes in GD TLS for x86_64-nacl
Standard GD TLS sequence contains commands prefixed with 0x6666, inserted by compiler with .byte directive. Our asm does not know how to move it around, and thus 0x6666 may cross bundle boundary and confuse the validator.
As we do not rewrite GD TLS access pattern at the moment, we can afford changing the standard sequence. Simply removing prefixes make still working code that does not suffer from the issues described above.
BUG=http://code.google.com/p/nativeclient/issues/detail?id=1685
TEST=disassemble object file from any source accessing __thread variable - it should not have 0x6666 any more
Committed: http://git.chromium.org/gitweb/?p=nacl-gcc.git;a=commit;h=df9e2bf
Patch Set 1 #Patch Set 2 : ready for code review #
Total comments: 1
Messages
Total messages: 7 (0 generated)
|