Get 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

Review URL: http://codereview.chromium.org/6878043
1 file changed