Port-alpha archive

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

Re: static link csh/tcsh dumps core

In article <20130210190901.GC16496%mail.duskware.de@localhost>,
Martin Husemann  <martin%duskware.de@localhost> wrote:
>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/
> 1) store gp in the jmp_buf in __setjmp14 and copy it to the sigcontext
>    in __longjmp14
> 2) define the mentioned macro in the gcc spec, causing the compiler to
>    generate reload code after setjmp() calls

It depends what the ABI requires. I would think that it would be best to
do 1, then the compiler could reload or not reload and it will still work...


Home | Main Index | Thread Index | Old Index