[uClibc]setjmp() & setsigjmp()

David McCullough davidm at lineo.com
Tue May 8 14:17:36 UTC 2001


Jivin Tom Walsh lays it down ...
> David McCullough wrote:
> > 
> > 
> > >From what I can see,  the current uClibc sources already have a sigsetjmp
> > for m68k, you do need to include the proper headers though as it is a macro.
> > 
> 
> Okay, I see it now, it is in
> /usr/local/m68k-elf/sys-includes/bits/setjmp.h.  I guess this goes down
> to my (mis)understanding of writing C under gcc..  Admittedly, macros
> are my weakest point with C, I have been able to successfully avoid
> their use in 20+ years of coding.  This illustrates my problem with
> __sigsetjmp:

Turns out the m68k logjmp code was out of touch with other changes in the
tree.  I have checked in enough to get it basically working,  but it really
needs a workover to be brought into line with the x86/sh ports.

You will need:

	sysdeps/linux/m68k/setjmp.S
	sysdeps/linux/m68k/bits/setjmp.h

Cheers,
Davidm

-- 
David McCullough:  Ph: +61 7 3435 2815  Lineo (The Embedded Solutions Company)
davidm at lineo.com   Fx: +61 7 3891 3630  PO Box 925, Kenmore QLD 4069, Australia





More information about the uClibc mailing list