summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authordrahn <drahn@openbsd.org>2004-02-01 07:11:24 +0000
committerdrahn <drahn@openbsd.org>2004-02-01 07:11:24 +0000
commit993739be56893075c25db4e28349d1f57f3ff3e2 (patch)
treebefcf0f6a9ac9fb936daaff8e1181eb29d6adb78 /lib/libc
parentremove prototypes for non-existant functions. (diff)
downloadwireguard-openbsd-993739be56893075c25db4e28349d1f57f3ff3e2.tar.xz
wireguard-openbsd-993739be56893075c25db4e28349d1f57f3ff3e2.zip
s/arm32/arm/ with VFP bit to match netbsd.
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/rpc/xdr_float.c4
-rw-r--r--lib/libc/stdlib/strtod.c6
2 files changed, 5 insertions, 5 deletions
diff --git a/lib/libc/rpc/xdr_float.c b/lib/libc/rpc/xdr_float.c
index 4e691fa7265..93759d8f8c7 100644
--- a/lib/libc/rpc/xdr_float.c
+++ b/lib/libc/rpc/xdr_float.c
@@ -28,7 +28,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char *rcsid = "$OpenBSD: xdr_float.c,v 1.11 2004/01/28 01:51:39 mickey Exp $";
+static char *rcsid = "$OpenBSD: xdr_float.c,v 1.12 2004/02/01 07:11:24 drahn Exp $";
#endif /* LIBC_SCCS and not lint */
/*
@@ -54,7 +54,7 @@ static char *rcsid = "$OpenBSD: xdr_float.c,v 1.11 2004/01/28 01:51:39 mickey Ex
#if defined(__m68k__) || defined(__sparc__) || defined(__i386__) || \
defined(__mips__) || defined(__ns32k__) || defined(__alpha__) || \
- defined(__arm32__) || defined(__powerpc__) || defined(__m88k__) || \
+ defined(__arm__) || defined(__powerpc__) || defined(__m88k__) || \
defined(__hppa__) || defined(__x86_64__)
#include <machine/endian.h>
#define IEEEFP
diff --git a/lib/libc/stdlib/strtod.c b/lib/libc/stdlib/strtod.c
index 55c455892ab..5899bc1ee58 100644
--- a/lib/libc/stdlib/strtod.c
+++ b/lib/libc/stdlib/strtod.c
@@ -90,7 +90,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char *rcsid = "$OpenBSD: strtod.c,v 1.17 2004/01/28 01:51:39 mickey Exp $";
+static char *rcsid = "$OpenBSD: strtod.c,v 1.18 2004/02/01 07:11:24 drahn Exp $";
#endif /* LIBC_SCCS and not lint */
#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 $
#endif
#endif
-#ifdef __arm32__
+#if defined(__arm__) && !defined(_VFP_FP__)
/*
* Although the CPU is little endian the FP has different
* byte and word endianness. The byte order is still little endian
@@ -239,7 +239,7 @@ typedef union {
* An alternative that might be better on some machines is
* #define Storeinc(a,b,c) (*a++ = b << 16 | c & 0xffff)
*/
-#if defined(IEEE_LITTLE_ENDIAN) + defined(VAX) + defined(__arm32__)
+#if defined(IEEE_LITTLE_ENDIAN) + defined(VAX) + defined(__arm__)
#define Storeinc(a,b,c) (((unsigned short *)a)[1] = (unsigned short)b, \
((unsigned short *)a)[0] = (unsigned short)c, a++)
#else