libgcc problems

Jeffrey A Law law@cygnus.com
Thu Jan 15 16:30:00 GMT 1998


  In message < 9801151707.AA23404@rios1.watson.ibm.com >you write:
  > 	rs6000.md does have a nonlocal_goto_receiver pattern added by
  > Meissner, but it only handles the GCC minimal-toc case where GCC has
  > allocated a secondary TOC register.  The code assumes that the system TOC
  > is correct in order to access the secondary TOC anchor value.  It looks
  > like all nonlocal patterns for AIX assume that all of the functions are
  > within the same module.
  > 
  > 	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.
I don't know about the rs6000/ppc case, but on the PA the TOC is 
always at a known offset from the stack.  We just restore it in
the receiver code.  Any chance of pulling it out of the stack?

jeff





More information about the Gcc mailing list