summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/arm/bits
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-11-10 02:23:19 +0000
committerMike Frysinger <vapier@gentoo.org>2005-11-10 02:23:19 +0000
commitafe62a07d12e83f5c9ec0a403e360529553733c4 (patch)
tree624b0f5b50c078b1b3fc13b33ae13fca8b3e1dde /libc/sysdeps/linux/arm/bits
parentd1e97540300442c2ec0aea1feb0d9687cc21059c (diff)
sync with glibc
Diffstat (limited to 'libc/sysdeps/linux/arm/bits')
-rw-r--r--libc/sysdeps/linux/arm/bits/endian.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/libc/sysdeps/linux/arm/bits/endian.h b/libc/sysdeps/linux/arm/bits/endian.h
index 1476881cb..4f60bd7d2 100644
--- a/libc/sysdeps/linux/arm/bits/endian.h
+++ b/libc/sysdeps/linux/arm/bits/endian.h
@@ -1,18 +1,17 @@
-/* ARM is (usually) little-endian.
- * Older FPU style (FPA) is always big-endian.
- * Newer FPU style (VFP) is same as host byte-order.
- */
-
#ifndef _ENDIAN_H
# error "Never use <bits/endian.h> directly; include <endian.h> instead."
#endif
+/* ARM can be either big or little endian. */
#ifdef __ARMEB__
# define __BYTE_ORDER __BIG_ENDIAN
#else
# define __BYTE_ORDER __LITTLE_ENDIAN
#endif
+/* FPA floating point units are always big-endian, irrespective of the
+ CPU endianness. VFP floating point units use the same endianness
+ as the rest of the system. */
#ifdef __VFP_FP__
# define __FLOAT_WORD_ORDER __BYTE_ORDER
#else