This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: __register_frame () change in 1997-12-07 egcs
- To: hjl at lucon dot org (H.J. Lu)
- Subject: Re: __register_frame () change in 1997-12-07 egcs
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Mon, 08 Dec 1997 15:52:49 -0700
- cc: egcs at cygnus dot com
- Reply-To: law at cygnus dot com
In message <m0xfAgm-0004ecC@ocean.lucon.org>you write:
> Hi,
>
> __register_frame () change in 1997-12-07 egcs causes many problems.
> Since __register_frame () called in crtbegin.o is in libgcc2.c and
> gcc -shared includes crtbegin.o and -lgcc, any libc.so built by
> previous egcs has __register_frame () in libc.so. Now the ABI for
> __register_frame () is changed, that is a big mess for Linux since
> shared libraries are used a lot. When the ABI of a function in
> shared library is changed like this, it doesn't work too well.
> It should be fixed ASAP.
Well, then we've got a problem. We're open to suggestions for how to
fix it.
> BTW, restore_tree_status () in tree.c has
[ ... ]
> But it doesn't check if toplev_inline_obstacks is NULL. It failed
> gcc.c-torture/execute/921215-1.c with -O2 -fomit-frame-pointer
> -finline-functions
Yes. It's not clear to me yet what the right thing to do is -- ie I'm
not convinced that we should have been in that code to begin with.
jeff