bionic/libc/include
Chih-Hung Hsieh b6b5cb5389 Ignore all __weak_alias in OpenBSD libC.
GCC assembler allows xyz to be redeclared as weak,
by __weak_alias(xyz, _xyz), while _xyz is undefined.
Clang does not like that but silently generates no code.
It will reject its own .s file if the assembly code is saved first.
Since we have no reason to define xyz or _xyz as weak symbol now,
and _xyz is a macro to xyz, we simplify libC to have only
xyz defined as global.

BUG: 17186746
Change-Id: I24b154425838683cae69248cc750c59e26fd5467
2014-08-28 15:10:01 -07:00
..
android Missing #include <sys/cdefs.h>. 2014-08-19 11:08:02 -07:00
arpa Add in_port_t and move it and in_addr_t to the correct header file. 2014-08-19 12:43:50 -07:00
machine Fix WCHAR_MAX, WCHAR_MIN, WINT_MAX, and WINT_MIN. 2014-04-21 18:09:46 -07:00
net Update the kernel headers to match external/kernel-headers. 2012-09-12 12:30:22 -07:00
netinet Add in_port_t and move it and in_addr_t to the correct header file. 2014-08-19 12:43:50 -07:00
netpacket auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
sys Ignore all __weak_alias in OpenBSD libC. 2014-08-28 15:10:01 -07:00
alloca.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
ar.h New additions/bug fixes required/found when porting perf. 2012-03-20 12:54:55 -07:00
assert.h Add "__noreturn" to assert and assert2 2014-01-15 07:32:52 +00: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 Remove isascii_l(3). 2014-07-14 15:48:02 -07:00
dirent.h Remove getdents from bionic. 2014-06-06 15:05:58 -07:00
dlfcn.h Add RTLD_NOLOAD support and some related changes. 2014-05-20 12:02:24 -07:00
elf.h Run constructors before resolving ifunc functions 2014-08-21 14:24:13 -07:00
endian.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
err.h The err family allow null format strings. 2014-07-11 02:53:27 +00:00
errno.h Add __pure2 to a few more functions, most notably gettid and pthread_self. 2014-06-11 16:32:10 -07:00
fcntl.h Improve <sys/cdefs.h>. 2014-08-18 14:45:42 -07:00
features.h Move the meat of <features.h> into <sys/cdefs.h>. 2014-08-19 11:18:20 -07: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
ftw.h Added ftw64, nftw64 2014-02-24 20:22:11 +00:00
getopt.h Switch to current upstream getopt_long. 2013-06-25 14:56:17 -07:00
grp.h Remove declarations for things that don't exist. 2014-07-29 16:57:47 -07:00
inttypes.h Switch to the OpenBSD implementations of the wide scanf functions. 2014-04-29 16:28:56 -07:00
lastlog.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
libgen.h Implement the GNU basename(3) in addition to the POSIX one. 2014-08-19 14:30:30 -07:00
limits.h Fix the printf family for non-ASCII. 2014-06-05 23:19:15 -07:00
link.h Fix <link.h>. 2014-02-10 13:31:13 -08:00
locale.h Brings LC_* defs into line with POSIX 2014-04-18 21:48:57 +00:00
malloc.h Implement malloc_info(3). 2014-08-22 10:23:12 -07:00
memory.h Fix <memory.h> to be a synonym for <string.h> like in glibc. 2013-02-22 11:11:48 -08:00
mntent.h Add getmntent_r to our collection of <mntent.h> compatibility stubs. 2014-05-13 10:44:07 -07:00
netdb.h Use default hidden visibility to build libc_dns. 2014-06-12 13:35:41 -07:00
nsswitch.h Restore <nsswitch.h> which is BSD API, not private. 2014-06-30 14:15:34 -07:00
pathconf.h libc: Add missing C++ guards to <pathconf.h> 2010-09-27 17:27:14 +02:00
paths.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
poll.h Remove dependencies on obsolete __ARCH_WANT_SYSCALL_DEPRECATED system calls. 2013-10-24 15:48:32 -07:00
pthread.h Add __pure2 to a few more functions, most notably gettid and pthread_self. 2014-06-11 16:32:10 -07:00
pwd.h Align struct passwd definition with other variations of libc 2014-05-09 22:29:23 +01:00
regex.h Import regex from OpenBSD 2010-01-15 15:01:44 -08:00
resolv.h Use default hidden visibility to build libc_dns. 2014-06-12 13:35:41 -07:00
sched.h Move the meat of <features.h> into <sys/cdefs.h>. 2014-08-19 11:18:20 -07:00
search.h Implement twalk(3), add unit tests. 2014-07-24 14:55:29 -07:00
semaphore.h Reserve some space in sem_t for the future. 2014-05-06 16:24:27 +01:00
setjmp.h Rewrite and hide longjmperror. 2014-06-06 16:49:39 -07:00
sgidefs.h Add <sgidefs.h>. 2014-01-09 13:54:49 -08:00
sgtty.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
signal.h asm/sigcontext.h is required to build unwind-dw2.c in gcc-4.9. 2014-06-25 18:03:41 -07:00
stdatomic.h Undefine _Atomic before redefining 2014-08-26 15:58:15 -07:00
stdint.h There is no _MIN for unsigned types. 2014-07-21 17:16:30 -07:00
stdio_ext.h Add <stdio_ext.h> for elfutils. 2014-08-20 10:23:52 -07:00
stdio.h Add POSIX-2008 fmemopen, open_memstream, and open_wmemstream. 2014-08-20 17:03:46 -07:00
stdlib.h Change name of MB_CUR_MAX implementation function. 2014-08-14 13:56:51 -07:00
string.h Implement the GNU basename(3) in addition to the POSIX one. 2014-08-19 14:30:30 -07:00
strings.h Use __builtin_*_chk for bcopy/bzero. 2014-06-23 08:30:40 -07:00
syslog.h Fix belated review comments on syslog change. 2014-07-23 11:38:38 -07:00
termio.h libc: Add missing <termio.h> header 2010-06-11 14:39:39 -07:00
termios.h Clean up our termios implementation. 2014-03-11 19:13:25 -07:00
time64.h Remove the non-standard time64 stuff for LP64. 2014-05-05 17:14:02 -07:00
time.h Revert "Revert "Add locale aware APIs."" 2014-07-11 16:21:31 +00:00
uchar.h Adds functionality specified by uchar.h 2014-06-04 08:39:24 -07:00
ucontext.h Add x86_64 ucontext.h for better compatibility 2014-01-29 15:35:33 -08:00
unistd.h Move the meat of <features.h> into <sys/cdefs.h>. 2014-08-19 11:18:20 -07:00
util.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
utime.h Fix utime/utimes when passed a NULL pointer. 2013-10-28 13:21:06 -07:00
utmp.h Allow for better utmp logging. 2014-05-06 15:44:14 +01:00
wchar.h Add POSIX-2008 fmemopen, open_memstream, and open_wmemstream. 2014-08-20 17:03:46 -07:00
wctype.h Revert "Revert "Add locale aware APIs."" 2014-07-11 16:21:31 +00:00
xlocale.h Flesh out <locale.h>. 2014-04-08 19:37:38 -07:00