libgcc: why emutls.c in LIB2ADDEH instead of LIB2ADD?
Paolo Bonzini
bonzini@gnu.org
Mon Nov 21 12:31:00 GMT 2011
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
More information about the Gcc
mailing list