[PATCH] Fix setjmp/longjmp for MIPS64 N64 ABI

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Mon Feb 3 10:21:56 UTC 2014


On Wed, Jan 29, 2014 at 06:58:56PM +0100, Waldemar Brodkorb wrote:
> When booting a Linux system with qemu-system-mips64 the execution
> of $(pwd) in the ash shell triggers a segmentation fault. Ash uses
> setjmp/longjmp for exception handling.
> 
> After looking at the glibc implementation,
> I found some differences, with this patch tries to resolve.
> Now the system boots up fine and no segmentation faults occur.
> 
> The global pointer should be restored and the types for the
> register values should be wide enough.
> 
> See:
> http://www.cygwin.com/ml/libc-alpha/2003-03/msg00363.html

Applied, thanks!


More information about the uClibc mailing list