IA32 TLS GD access model specifies

leal    [EMAIL PROTECTED](,%ebx,1), %eax
call    ___tls_get_addr

But the current linker also accepts

leal    [EMAIL PROTECTED](%ebx), %eax
call    ___tls_get_addr

However, GD->IE transition needs one more byte to change it to

movl %gs:0, %eax; subl [EMAIL PROTECTED](%reg), %eax

I'd like to change the linker to accept

leal    [EMAIL PROTECTED](%ebx), %eax
call    ___tls_get_addr

only if there is a nop after it. Is there any objection?


H.J.

Reply via email to