On Mon, Apr 30, 2001 at 11:34:32AM +0200, Maciej W. Rozycki wrote: > > A different solution would be to take the usual exit in sysmips via > > the return at the end (for which the compiler generated a correct > > epilogue) and modify the return address - This is an very ugly hack > > and you cant tell where the compiler stores the ra on the stack. > > It could be doable with __builtin_frame_address(). Haven't investigated > it further, though. MIPS ABI doesn't define that ra gets stored at a constant offset in the stackframe, so that won't work. Ralf