This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


On 11/21/2011 02:04 AM, Iain Sandoe wrote:
> The reason it was in libgcc_eh (AFAIK, the original implementation
> pre-dates my GCC days) - is because there can only be one copy of the
> static emutls locking entities in a given exe.   I guess it was felt
> analogous to the "only one unwinder" rule.

Yes, that was it.  That puts the stuff in libgcc_s.so, but not libgcc.a.


r~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]