This is the mail archive of the gcc@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]

Re: A completely different approach to EH runtime


On Tue, Feb 20, 2001 at 10:04:05PM -0800, Zack Weinberg wrote:
> Put all the language-independent EH support in their own library, call
> it libeh.a.  This is a static library.  __muldi3 etc continue to live
> in libgcc.a.  Shared objects are linked with libgcc.a but _not_
> libeh.a.

Sounds good to me.  In fact FreeBSD has had certain issues with libgcc
and shared objects that this would have helped.
 
> This should just work on every platform which does not use GNU libc.

Yes.

> On platforms which do, there is an additional complication: glibc
> presently contains its own copy of the eh routines, dragged in from
> libgcc.a.

I've never understood why glibc has to have such carnal knowledge of the
compiler....

-- 
-- David  (obrien@FreeBSD.org)


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