Within the GNU Assembler, how to detect whether a symbolS is a TLS symbol ?

H.J. Lu hjl.tools@gmail.com
Sun Apr 19 17:31:38 GMT 2020


On Sun, Apr 19, 2020 at 10:14 AM William Tambe <tambewilliam@gmail.com> wrote:
>
> On Sun, Apr 19, 2020 at 12:10 PM H.J. Lu <hjl.tools@gmail.com> wrote:
> >
> > On Sun, Apr 19, 2020 at 8:54 AM William Tambe via Binutils
> > <binutils@sourceware.org> wrote:
> > >
> > > Within the GNU Assembler, how to detect whether a symbolS is a TLS symbol ?
> >
> > S_SET_THREAD_LOCAL sets BSF_THREAD_LOCAL, which called by the backend.
>
> How can the backend itself detect whether a symbolS is a TLS symbol ?
>

Only the backend has the information if a symbol is TLS.

-- 
H.J.


More information about the Binutils mailing list