Subject: Re: port-i386/16842: setjmp()/longjmp() don't recover %fs register
To: None <kent@netbsd.org>
From: Bang Jun-Young <junyoung@mogua.com>
List: netbsd-bugs
Date: 05/24/2002 03:14:33
On Thu, May 16, 2002 at 01:30:34AM -0700, kent@netbsd.org wrote:
> The function setjmp() does not save %fs register and longjump() does
> not restore %fs register.
> If the kernl has "options USER_LDT", userland programs can handle LDT
> by setting %fs register.  The current behavior of setjmp()/longjmp()
> is not suitable for such programs.

Only Win32 programs have necessity for setting %fs during its execution
and they are not NetBSD programs. It should be handled in the compatibility
layer. 

Jun-Young

-- 
Bang Jun-Young <junyoung@mogua.com>