A completely different approach to EH runtime
David O'Brien
obrien@FreeBSD.org
Wed Feb 28 11:00:00 GMT 2001
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)
More information about the Gcc
mailing list