This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: __frame_state_for has dissappeared from libgcc
On Wed, May 16, 2001 at 02:50:51PM -0700, Richard Henderson wrote:
> On Wed, May 16, 2001 at 11:49:49PM +0200, Jakub Jelinek wrote:
> > ... but that does not matter as older gcc's won't emit them anyway
> > and mixing C++ code compiled with older g++ and g++ 3.0 in one
> > application won't work, so __frame_state_for implementation will
> > just not care about what was returned in bases.
>
> But if you rebuild glibc with gcc3.x, then glibc itself could
> make use of eg DW_EH_PE_datarel when unwinding through eg qsort.
So __frame_state_for will essentially have to support all the .eh_frame
enhancements of gcc which compiled it, which will mean either that all the
stuff will have to coded twice (once in libgcc_s, once in glibc) or that
__frame_state_for will be far more closely coupled with libgcc_s (to share
more unwinding code).
Jakub