freebsd-dev/lib/libc/ia64
Marcel Moolenaar cafd6dbd76 Fix threaded applications on ia64 that are linked dynamicly. We did
not save (restore) the global pointer (GP) in the jmpbuf in setjmp
(longjmp) because it's not needed in general. GP is considered a
scratch register at callsites and hence is always restored after a
call (when it's possible that the call resolves to a symbol in a
different loadmodule; otherwise GP does not have to be saved and
restored at all), including calls to setjmp/longjmp. There's just
one problem with this now that we use setjmp/longjmp for context
switching: A new context must have GP defined properly for the
thread's entry point. This means that we need to put GP in the
jmpbuf and consequently that we have to restore is in longjmp.
This automaticly requires us to save it as well.

When setjmp/longjmp isn't used for context switching, this can be
reverted again.
2003-03-05 04:39:24 +00:00
..
gen Fix threaded applications on ia64 that are linked dynamicly. We did 2003-03-05 04:39:24 +00:00
net Use __FBSDID. 2003-03-03 01:09:46 +00:00
stdlib
string Use __FBSDID. 2003-03-03 01:09:46 +00:00
sys Use __FBSDID. 2003-03-03 01:09:46 +00:00
_fpmath.h ia64 actually uses 80-bit long doubles and must support big and little 2003-02-26 16:04:34 +00:00
Makefile.inc Correct a comment. 2001-03-05 10:00:57 +00:00
SYS.h Fix the style of the SCM ID's. 2002-03-22 23:42:05 +00:00