diff options
author | drahn <> | 2004-02-01 07:11:24 +0000 |
---|---|---|
committer | drahn <> | 2004-02-01 07:11:24 +0000 |
commit | 2132bee2ef04e3eabfa4a1fa6dec9ad267aaee5a (patch) | |
tree | d61ffddc5eb531563819b4f8df6244a7469d4693 | |
parent | 9c60202922c1b13708d4aac634aaf0005657a746 (diff) | |
download | openbsd-2132bee2ef04e3eabfa4a1fa6dec9ad267aaee5a.tar.gz openbsd-2132bee2ef04e3eabfa4a1fa6dec9ad267aaee5a.tar.bz2 openbsd-2132bee2ef04e3eabfa4a1fa6dec9ad267aaee5a.zip |
s/arm32/arm/ with VFP bit to match netbsd.
-rw-r--r-- | src/lib/libc/stdlib/strtod.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libc/stdlib/strtod.c b/src/lib/libc/stdlib/strtod.c index 55c455892a..5899bc1ee5 100644 --- a/src/lib/libc/stdlib/strtod.c +++ b/src/lib/libc/stdlib/strtod.c | |||
@@ -90,7 +90,7 @@ | |||
90 | */ | 90 | */ |
91 | 91 | ||
92 | #if defined(LIBC_SCCS) && !defined(lint) | 92 | #if defined(LIBC_SCCS) && !defined(lint) |
93 | static char *rcsid = "$OpenBSD: strtod.c,v 1.17 2004/01/28 01:51:39 mickey Exp $"; | 93 | static char *rcsid = "$OpenBSD: strtod.c,v 1.18 2004/02/01 07:11:24 drahn Exp $"; |
94 | #endif /* LIBC_SCCS and not lint */ | 94 | #endif /* LIBC_SCCS and not lint */ |
95 | 95 | ||
96 | #if defined(__m68k__) || defined(__sparc__) || defined(__i386__) || \ | 96 | #if defined(__m68k__) || defined(__sparc__) || defined(__i386__) || \ |
@@ -105,7 +105,7 @@ static char *rcsid = "$OpenBSD: strtod.c,v 1.17 2004/01/28 01:51:39 mickey Exp $ | |||
105 | #endif | 105 | #endif |
106 | #endif | 106 | #endif |
107 | 107 | ||
108 | #ifdef __arm32__ | 108 | #if defined(__arm__) && !defined(_VFP_FP__) |
109 | /* | 109 | /* |
110 | * Although the CPU is little endian the FP has different | 110 | * Although the CPU is little endian the FP has different |
111 | * byte and word endianness. The byte order is still little endian | 111 | * byte and word endianness. The byte order is still little endian |
@@ -239,7 +239,7 @@ typedef union { | |||
239 | * An alternative that might be better on some machines is | 239 | * An alternative that might be better on some machines is |
240 | * #define Storeinc(a,b,c) (*a++ = b << 16 | c & 0xffff) | 240 | * #define Storeinc(a,b,c) (*a++ = b << 16 | c & 0xffff) |
241 | */ | 241 | */ |
242 | #if defined(IEEE_LITTLE_ENDIAN) + defined(VAX) + defined(__arm32__) | 242 | #if defined(IEEE_LITTLE_ENDIAN) + defined(VAX) + defined(__arm__) |
243 | #define Storeinc(a,b,c) (((unsigned short *)a)[1] = (unsigned short)b, \ | 243 | #define Storeinc(a,b,c) (((unsigned short *)a)[1] = (unsigned short)b, \ |
244 | ((unsigned short *)a)[0] = (unsigned short)c, a++) | 244 | ((unsigned short *)a)[0] = (unsigned short)c, a++) |
245 | #else | 245 | #else |