[PATCH] x86-64: Fix TLSDESC relaxation for x32
Jan Beulich
jbeulich@suse.com
Mon Jan 20 15:18:00 GMT 2020
On 20.01.2020 15:55, H.J. Lu wrote:
> We need to support both sequences for x32. For both GDesc -> IE/LE
> transitions,
>
> 67 ff 10 call *x@TLSCALL(%eax)
>
> should relaxed to
>
> 0f 1f 00 nopl (%rax)
Since, like it is phrased here, the patch also uses this
unconditionally, I wonder if this is the best choice: Linux,
for example, has a number of cases where it wouldn't use
this NOP form even on 64-bit.
Jan
More information about the Binutils
mailing list