Port-alpha archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: static link csh/tcsh dumps core



On Sun, Feb 10, 2013 at 08:05:07PM +0100, Martin Husemann wrote:
> Does this make sense? If yes, it is easy to fix (but I won't mind someone
> with alpha knowledge to beat me to it).

Actually it is easy to fix in two different ways, depending on the ABI/
consensus:

 1) store gp in the jmp_buf in __setjmp14 and copy it to the sigcontext
    in __longjmp14

or:

 2) define the mentioned macro in the gcc spec, causing the compiler to
    generate reload code after setjmp() calls


Martin


Home | Main Index | Thread Index | Old Index