Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib __arm26__ || __arm32__ -> __arm__
details: https://anonhg.NetBSD.org/src/rev/ff69a69d95a5
branches: trunk
changeset: 503588:ff69a69d95a5
user: bjh21 <bjh21%NetBSD.org@localhost>
date: Fri Feb 09 18:38:32 2001 +0000
description:
__arm26__ || __arm32__ -> __arm__
Not least because the unified NetBSD/arm compiler probably won't predefine
__arm26__ or __arm32__.
diffstat:
lib/libc/rpc/xdr_float.c | 7 +++----
lib/libc/stdlib/strtod.c | 9 ++++-----
lib/libm/src/math_private.h | 6 +++---
3 files changed, 10 insertions(+), 12 deletions(-)
diffs (95 lines):
diff -r 3063e4588118 -r ff69a69d95a5 lib/libc/rpc/xdr_float.c
--- a/lib/libc/rpc/xdr_float.c Fri Feb 09 18:34:01 2001 +0000
+++ b/lib/libc/rpc/xdr_float.c Fri Feb 09 18:38:32 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: xdr_float.c,v 1.24 2000/12/20 20:52:50 christos Exp $ */
+/* $NetBSD: xdr_float.c,v 1.25 2001/02/09 18:38:32 bjh21 Exp $ */
/*
* Sun RPC is a product of Sun Microsystems, Inc. and is provided for
@@ -35,7 +35,7 @@
static char *sccsid = "@(#)xdr_float.c 1.12 87/08/11 Copyr 1984 Sun Micro";
static char *sccsid = "@(#)xdr_float.c 2.1 88/07/29 4.0 RPCSRC";
#else
-__RCSID("$NetBSD: xdr_float.c,v 1.24 2000/12/20 20:52:50 christos Exp $");
+__RCSID("$NetBSD: xdr_float.c,v 1.25 2001/02/09 18:38:32 bjh21 Exp $");
#endif
#endif
@@ -71,8 +71,7 @@
#if defined(__m68k__) || defined(__sparc__) || defined(__i386__) || \
defined(__mips__) || defined(__ns32k__) || defined(__alpha__) || \
- defined(__arm32__) || defined(__powerpc__) || defined(__sh3__) || \
- defined(__arm26__)
+ defined(__arm__) || defined(__powerpc__) || defined(__sh3__)
#include <machine/endian.h>
#define IEEEFP
#endif
diff -r 3063e4588118 -r ff69a69d95a5 lib/libc/stdlib/strtod.c
--- a/lib/libc/stdlib/strtod.c Fri Feb 09 18:34:01 2001 +0000
+++ b/lib/libc/stdlib/strtod.c Fri Feb 09 18:38:32 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: strtod.c,v 1.34 2000/05/09 21:55:53 bjh21 Exp $ */
+/* $NetBSD: strtod.c,v 1.35 2001/02/09 18:38:33 bjh21 Exp $ */
/****************************************************************
*
@@ -93,7 +93,7 @@
#include <sys/cdefs.h>
#if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: strtod.c,v 1.34 2000/05/09 21:55:53 bjh21 Exp $");
+__RCSID("$NetBSD: strtod.c,v 1.35 2001/02/09 18:38:33 bjh21 Exp $");
#endif /* LIBC_SCCS and not lint */
#define Unsigned_Shifts
@@ -108,7 +108,7 @@
#endif
#endif
-#if defined(__arm32__) || defined(__arm26__)
+#if defined(__arm__)
/*
* Although the CPU is little endian the FP has different
* byte and word endianness. The byte order is still little endian
@@ -245,8 +245,7 @@
* 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__) + \
- defined(__arm26__)
+#if defined(IEEE_LITTLE_ENDIAN) + defined(VAX) + defined(__arm__)
#define Storeinc(a,b,c) \
(((u_short *)(void *)a)[1] = \
(u_short)b, ((u_short *)(void *)a)[0] = (u_short)c, a++)
diff -r 3063e4588118 -r ff69a69d95a5 lib/libm/src/math_private.h
--- a/lib/libm/src/math_private.h Fri Feb 09 18:34:01 2001 +0000
+++ b/lib/libm/src/math_private.h Fri Feb 09 18:38:32 2001 +0000
@@ -11,7 +11,7 @@
/*
* from: @(#)fdlibm.h 5.1 93/09/24
- * $NetBSD: math_private.h,v 1.9 2000/05/09 21:55:53 bjh21 Exp $
+ * $NetBSD: math_private.h,v 1.10 2001/02/09 18:38:33 bjh21 Exp $
*/
#ifndef _MATH_PRIVATE_H_
@@ -38,7 +38,7 @@
* big endian.
*/
-#if (BYTE_ORDER == BIG_ENDIAN) || defined(__arm32__) || defined(__arm26__)
+#if (BYTE_ORDER == BIG_ENDIAN) || defined(__arm__)
typedef union
{
@@ -52,7 +52,7 @@
#endif
-#if (BYTE_ORDER == LITTLE_ENDIAN) && !defined(__arm32__) && !defined(__arm26__)
+#if (BYTE_ORDER == LITTLE_ENDIAN) && !defined(__arm__)
typedef union
{
Home |
Main Index |
Thread Index |
Old Index