This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: libgcc: why emutls.c in LIB2ADDEH instead of LIB2ADD?
- From: Richard Henderson <rth at redhat dot com>
- To: Hans-Peter Nilsson <hans-peter dot nilsson at axis dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Sun, 20 Nov 2011 14:54:15 -1000
- Subject: Re: libgcc: why emutls.c in LIB2ADDEH instead of LIB2ADD?
- References: <201111201128.pAKBSpOW029056@ignucius.se.axis.com>
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~