__register_frame () change in 1997-12-07 egcs

Jeffrey A Law law@cygnus.com
Mon Dec 8 14:49:00 GMT 1997


  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



More information about the Gcc mailing list