dwarf2 eh for alpha, mark 2

Jeffrey A Law law@cygnus.com
Wed Sep 9 22:09:00 GMT 1998


  In message < 19980909012313.C18516@dot.cygnus.com >you write:
  > Rather than do objectionable things with return addresses, as
  > with the previous patch, this one streamlines the exception
  > handling mechanism itself.
  > 
  > The Idea here is rather than manipulate things piecemeal, trying
  > to modify return register save slots and generating stubs, we
  > simply arrange to communicate directly with the epilogue code
  > so that we just DTRT in the first place.
  > 
  > A second part of the patch has to do with how we find registers in
  > libgcc2.c.  I can't figure out how what we have ever worked on
  > anything except Sparc.  I see that Irix defaults to sjlj eh, but
  > not other MIPSen, so I must presume it does.  But for the Alpha I
  > found it consistently looking one frame too far back.
  > 
  > Anyway, the following was tested on Alpha, Sparc, and x86.  If it
  > is acceptable, I'll see about updating the epilogue code for the
  > other targets.
[ ... ]
No objections here.  I'll leave it to you and Jason to sort out the
sparc64 stuff.

jeff



More information about the Gcc-patches mailing list