libgcc: why emutls.c in LIB2ADDEH instead of LIB2ADD?

Richard Henderson rth@redhat.com
Mon Nov 21 01:23:00 GMT 2011


On 11/20/2011 01:28 AM, Hans-Peter Nilsson wrote:
> As subject says, in libgcc, why is $(srcdir)/emutls.c in
> LIB2ADDEH (and LIB2ADDEHSTATIC and LIB2ADDEHSHARED) instead of
> LIB2ADD?
> 
> 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...


r~



More information about the Gcc mailing list