This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] x86-64: Fix TLSDESC relaxation for x32


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]