Backported BSD FPU fix

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/branches/stable@24407 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Adam Fedor 2007-01-23 16:13:47 +00:00
parent 9b8de2e5a8
commit 145f27c90f
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2007-01-23 Adam Fedor <fedor@gnu.org>
* Source/NSObject.m ([NSObject +initialize]): Apply BSD FPU fix
only on x86 machines (backported).
2007-01-17 Richard Frith-Macdonald <rfm@gnu.org>
* NSURLHandle.m: Backport change to make sure resourceData method

View file

@ -934,9 +934,10 @@ GSDescriptionForClassMethod(pcl self, SEL aSel)
#endif
#endif
#ifdef __FreeBSD__
#if defined(__FreeBSD__) && defined(__i386__)
// Manipulate the FPU to add the exception mask. (Fixes SIGFPE
// problems on *BSD)
// Note this only works on x86
{
volatile short cw;