platform_bionic/libc/include/sys
David 'Digit' Turner 5fbf2e0992 libc: Define new symbol visibility macros
This patch defines a few new macros that can be used to control the
visibility of symbols exported by the C library:

- ENTRY_PRIVATE() can be used in assembly sources to indicate
  that an assembler function should have "hidden" visibility, i.e.
  will never be exported by the C library's shared library.

  This is the equivalent of using __LIBC_HIDDEN__ for a C function,
  but ENTRY_PRIVATE() works like ENTRY(), and must be used with
  END() to tag the end of the function.

- __LIBC_ABI_PUBLIC__ can be used to tag a C functions as being
  part of the C library's public ABI. This is important for a
  few functions that must be exposed by the NDK to maintain
  binary compatibility.

  Once a symbol has been tagged with this macro, it shall
  *never* be removed from the library, even if it becomes
  directly unused due to implementation changes
  (e.g. __is_threaded).

- __LIBC_ABI_PRIVATE__ can be used for C functions that should
  always be exported by the C library because they are used by
  other libraries in the platform, but should not be exposed
  by the NDK. It is possible to remove such symbols from the
  implementation if all callers are also modified.

+ Add missing END() assembly macro for x86

Change-Id: Ia96236ea0dbec41d57bea634b39d246b30e5e234
2012-01-31 22:19:09 +01:00
..
_errdefs.h Fix strerror(3) for errno 0. 2011-05-13 10:54:34 -07:00
_sigdefs.h Add the BSD sys_signame array. 2009-11-05 15:50:05 -08:00
_system_properties.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
_types.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
atomics.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
cdefs.h libc: <sys/cdefs.h>: Fix the use of __STDC_VERSION__ from C++ 2011-03-22 14:22:32 +01:00
cdefs_elf.h libc: Define new symbol visibility macros 2012-01-31 22:19:09 +01:00
dirent.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
epoll.h Fix <sys/epoll.h> and <sys/system_properties.h> to include proper C++ inclusion guards 2010-02-09 14:05:43 -08:00
errno.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
eventfd.h libc: add <sys/eventfd.h> and corresponding implementations. 2010-09-28 09:20:37 +02:00
exec_elf.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
file.h libc: remove C++ comments from public headers. 2010-09-27 17:35:26 +02:00
fsuid.h libc: tag missing functions in system headers. 2010-10-09 17:56:55 +02:00
inotify.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
ioctl.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
ioctl_compat.h libc: remove C++ comments from public headers. 2010-09-27 17:35:26 +02:00
ipc.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
klog.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
linux-syscalls.h remove obsolete SuperH support 2012-01-31 20:28:23 +01:00
linux-unistd.h Add extended attribute (xattr) system call wrappers to bionic. 2012-01-18 08:02:23 -05:00
mman.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
mount.h libc: tag missing functions in system headers. 2010-10-09 17:56:55 +02:00
param.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
prctl.h libc: Fix prctl() declaration. 2011-05-26 02:46:41 +02:00
ptrace.h libc: remove C++ comments from public headers. 2010-09-27 17:35:26 +02:00
queue.h Add fts, err, and sys/queue for grep 2010-01-15 15:57:02 -08:00
reboot.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
resource.h Add definition of rlim_t 2010-01-15 15:57:02 -08:00
select.h Remove compiler warnings when building Bionic. 2010-06-22 17:51:41 -07:00
sendfile.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
socket.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
socketcalls.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
stat.h Add support for the utimensat(2) syscall to bionic. 2011-03-24 18:18:48 -07:00
statfs.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
syscall.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
sysconf.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
sysinfo.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
syslimits.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
sysmacros.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
system_properties.h do not merge. Move property setting from libcutils to bionic. 2011-03-15 11:02:26 +09:00
time.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
timeb.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
times.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
ttychars.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
ttydev.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
types.h Remove compiler warnings when building Bionic. 2010-06-22 17:51:41 -07:00
uio.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
un.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
utsname.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
vfs.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
vt.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
wait.h libc: fix typo in waitid() declaration. 2010-10-13 15:46:55 +02:00
xattr.h Add extended attribute (xattr) system call wrappers to bionic. 2012-01-18 08:02:23 -05:00