Subject: Re: lib/26900: pthread should save/restore %fs resgister on i386
To: None <port-i386@netbsd.org>
From: Jaromir Dolecek <jdolecek@NetBSD.org>
List: port-i386
Date: 09/28/2004 11:16:57
Hi,
is there any reason why the proposed change should not be applied?
If it's sane, we should make sure 2.0 ships with the fix.
Jaromir
>Number: 26900
>Category: lib
>Synopsis: pthread should save/restore %fs resgister on i386
>Description:
With the current pthread implementation, a thread does not keep
the value of %fs register. This behavior causes a serious
problem on Wine or PEACE because %fs register is used for
associating a thread and thread-dependent information in Windows.
--
Jaromir Dolecek <jdolecek@NetBSD.org> http://www.NetBSD.cz/
-=- We should be mindful of the potential goal, but as the Buddhist -=-
-=- masters say, ``You may notice during meditation that you -=-
-=- sometimes levitate or glow. Do not let this distract you.'' -=-