libgcc problems

Richard Henderson rth@cygnus.com
Sat Jan 17 22:30:00 GMT 1998


On Thu, Jan 15, 1998 at 12:07:22PM -0500, David Edelsohn wrote:
> 	The SVR4 case only seems to handle a secondary GOT.  How does SVR4
> handle this normally?  It looks like one needs to materialize a copy of
> the original TOC anchor.

The __builtin_setjmp's jmp_buf is 5 words, three of which are used
in the normal case.  Perusing the source it seems that things are
not set up as nice as they could be for adding machine dependent
stuff, but it still should not be too difficult to arrange for
whatever you need to be stored in the two remaining words.

In fact, I have some changes laying about that made the builtin
setjmp/longjmp more efficient on Alpha -- let me know what registers
need saving and I'll see about fixing it up for ppc as well.


r~



More information about the Gcc mailing list