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 more.
> Did you look into the TLS emulation provided by 4.3?
Before you go too much further down the implementation details, I have
to agree with Jakub. Adding TLS variables to everything using libgcc
is not cheap. Is it really necessary that everything not even using
BID gets these?
--
Daniel Jacobowitz
CodeSourcery