This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: A completely different approach to EH runtime
- To: Zack Weinberg <zackw at stanford dot edu>
- Subject: Re: A completely different approach to EH runtime
- From: "David O'Brien" <obrien at FreeBSD dot org>
- Date: Wed, 28 Feb 2001 11:00:35 -0800
- Cc: gcc at gcc dot gnu dot org
- Organization: The NUXI BSD group
- References: <20010220220405.D4509@wolery.stanford.edu>
- Reply-To: obrien at FreeBSD dot org
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)