bionic/libc/include
Elliott Hughes 3cf53d1a78 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
2010-09-26 11:26:53 -07:00
..
arpa Import include/arpa/telnet.h from BSD 2010-01-15 15:15:52 -08:00
net added missing ether_aton and ether_ntoa 2010-06-11 20:48:40 -04:00
netinet Make IPv6 definitions comply with RFC 3493: 2009-06-16 18:55:37 -07:00
netpacket auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
sys Add eventfd system call support 2010-08-31 16:16:01 -05:00
alloca.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
assert.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
byteswap.h Fixes for the ARM-specific bswap_16, bswap_32, and bswap_64. 2010-09-26 11:26:53 -07:00
ctype.h Import change from ctype.h revision 1.20 from openbsd 2010-01-15 15:57:02 -08:00
dirent.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
dlfcn.h Added support for dladdr() 2010-03-17 16:11:37 -05:00
elf.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
endian.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
err.h Add fts, err, and sys/queue for grep 2010-01-15 15:57:02 -08:00
errno.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
fcntl.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
features.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
fnmatch.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
fts.h Add fts, err, and sys/queue for grep 2010-01-15 15:57:02 -08:00
getopt.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
grp.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
inttypes.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
lastlog.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
libgen.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
limits.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
locale.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
malloc.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
memory.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
mntent.h mntent.h requires stdio.h 2010-01-15 15:57:02 -08:00
netdb.h Changed __get_h_errno linkage to "C". 2010-02-12 11:37:25 -08:00
nsswitch.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
pathconf.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
paths.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
poll.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
pthread.h Implemented pthread_atfork() 2010-07-23 13:10:16 -07:00
pwd.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
regex.h Import regex from OpenBSD 2010-01-15 15:01:44 -08:00
resolv.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
sched.h Implement clone() C library function properly. 2010-01-25 11:18:30 -08:00
semaphore.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
setjmp.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
sgtty.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
sha1.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
signal.h merge from open-source master 2010-05-14 13:30:10 -07:00
stdint.h Define 64 bit types if compiling with -std=c99 2009-09-14 16:45:50 +02:00
stdio.h Add implementation of fdprintf, clearenv, and stubs for ttyname_r, *usershell 2010-01-15 16:52:35 -08:00
stdlib.h Fix ptsname_r(3) return type to match glibc 2010-01-12 12:58:12 -08:00
string.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
strings.h Make sure size_t is defined before used in strings.h 2009-07-22 11:41:02 +02:00
syslog.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
termios.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
time64.h libc: allow usage of time64.h from cpp code 2009-11-23 16:25:32 -05:00
time.h libc: add void to clock() function prototype 2009-09-09 14:58:19 -07:00
unistd.h pthread: introduce pthread_setname_np() as a mean to give names to threads 2010-05-19 23:17:16 -03:00
util.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
utime.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
utmp.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
wchar.h Add stdlib functions mbstowcs() and wcstombs(). 2009-11-10 12:15:33 -08:00
wctype.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00