This is the mail archive of the
libc-hacker@cygnus.com
mailing list for the glibc project.
Re: __register_frame_info & shared library compatibility
- To: law@cygnus.com
- Subject: Re: __register_frame_info & shared library compatibility
- From: Jamie Lokier <egcs@tantalophile.demon.co.uk>
- Date: Thu, 8 Apr 1999 22:41:35 +0200
- Cc: "H.J. Lu" <hjl@lucon.org>, egcs@egcs.cygnus.com, GNU C Library <libc-hacker@cygnus.com>
- References: <19990408222418.C21807@pcep-jamie.cern.ch> <29431.923602811@upchuck>
Jeffrey A Law wrote:
> We already know at some point we will have to break binary compatibility in
> the future to get some new C++ features. That would be the time to drop the
> old interfaces.
If you're prepared to break the C shared libraries at the same time,
your proposal sounds perfect.
> > Though frankly, the bloat due to the redundant .eh_frame in C binaries
> > much more significant. Is throwing an exception through C really
> > supposed to have defined behaviour?
> ?!? I don't think we create eh_frames for C code by default now. We do
> if one specifies -fexceptions though.
Sorry, you're right. I have seen big ones before, and I just checked
.eh_frame and found a small one on a recent C binary. Even a trivial
program has a tiny .eh_frame of 4 bytes.
-- Jamie