This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: Check TLS for libgcc
On Wed, Jun 20, 2007 at 03:05:59PM +0200, Paolo Bonzini wrote:
>
> >>Actually, neither your patch nor my alternative proposal will work if
> >>--disable-bootstrap is used. The test would then be done on the build
> >>compiler ("stage0").
> >
> >They can use --enable-tls or something like that.
>
> No, --disable-bootstrap should disable bootstrap, nothing less, nothing
We can make --enable-tls to enable TLS unconditionally without
any checking.
> more. Did you look into the TLS emulation provided by 4.3?
Even if you can compile TLS code, it doesn't mean you can run code
with TLS if libc/kernel don't support TLS properly. That is why
run-time check is needed.
H.J.