diff options
author | Elliott Hughes <enh@google.com> | 2010-09-24 17:55:58 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2010-09-26 11:26:53 -0700 |
commit | 3cf53d1a7814e1520df09d24b009c16f4f27db0d (patch) | |
tree | 51c6980f9dae0ef1f3918c1f18f5215be3fc3fb6 /libc/arch-arm/syscalls.mk | |
parent | 312be567a03aaf851707a268807ee666b12f8c74 (diff) | |
download | bionic-3cf53d1a7814e1520df09d24b009c16f4f27db0d.zip bionic-3cf53d1a7814e1520df09d24b009c16f4f27db0d.tar.gz bionic-3cf53d1a7814e1520df09d24b009c16f4f27db0d.tar.bz2 |
Fixes for the ARM-specific bswap_16, bswap_32, and bswap_64.
1. Make the feature test work by excluding known-deficient processors, so
we don't have to maintain a complete list of all the processors that support
REV and REV16.
2. Don't abuse 'register' to get an effect similar to GCC's +l constraint,
but which was unnecessarily restrictive.
3. Fix __swap64md so _x isn't clobbered, breaking 64-bit swaps.
4. Make <byteswap.h> (which declars bswap_16 and friends) use <endian.h>
rather than <sys/endian.h>, so we get the machine-dependent implementations.
Change-Id: I6a38fad7a9fbe394aff141489617eb3883e1e944
Diffstat (limited to 'libc/arch-arm/syscalls.mk')
0 files changed, 0 insertions, 0 deletions