On 11/21/2011 01:54 AM, Richard Henderson wrote:
> Emulating TLS has nothing to do with exception-handling, nor is
> there something that might throw while calling one of its
> functions.
>
> Ok to fix that?
Not without further study. There was a reason we wanted these
in libgcc_eh.a. I can't recall exactly why at the moment; it
should be in the archives...
Nope, the first version at
http://gcc.gnu.org/ml/gcc-patches/2006-09/msg00903.html already had it
in LIB2ADDEH*. Perhaps Jakub has some ideas too.
H-P, can you try bootstrapping your patch on cygwin and/or mingw too
before applying it?
Paolo