platform_bionic/libc/include/sys
Christopher Ferris ed45970ac5 Add cfi directives to all arm assembly.
Since the ENTRY/END macros now have .cfi_startproc/.cfi_endproc, most of the
custom arm assembly has no unwind information. Adding the proper cfi directives
for these and removing the arm directives.

Update the gensyscalls.py script to add these cfi directives for the generated
assembly. Also fix the references to non-uapi headers to the proper uapi
header.

In addition, remove the kill.S, tkill.S, tgkill.S for arm since they are not
needed at all. The unwinder (libunwind) is able to properly unwind using the
normal abort.

After this change, I can unwind through the system calls again.

Bug: 11559337
Bug: 11825869
Bug: 11321283

Change-Id: I18b48089ef2d000a67913ce6febc6544bbe934a3
2013-12-02 19:13:12 -08:00
..
_errdefs.h Error numbers are target specific. 2012-08-01 17:53:07 -07:00
_sigdefs.h Fix typo in SIGTTOU description. 2012-08-10 12:23:58 -07:00
_system_properties.h bionic: add compatibility mode for properties 2013-06-25 16:52:40 -07:00
_types.h Make cpp.py less braindead. 2013-11-06 12:04:48 -08:00
atomics.h Fix implementation of generic atomic operations 2012-07-24 13:56:38 -07:00
auxv.h Ensure header files using __BEGIN_DECLS include sys/cdefs.h. 2013-06-05 17:58:08 -07:00
cachectl.h MIPS support for libc. 2012-08-02 16:07:26 -07:00
capability.h libc: create sys/capability.h 2013-02-26 13:27:15 -08:00
cdefs.h Switch to upstream sleep(3) and usleep(3). 2013-11-20 16:24:16 -08: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 Add the glibc-compatible names to <sys/endian.h>. 2013-02-22 11:04:27 -08:00
epoll.h Remove dependencies on obsolete __ARCH_WANT_SYSCALL_DEPRECATED system calls. 2013-10-24 15:48:32 -07:00
errno.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
eventfd.h Remove dependencies on obsolete __ARCH_WANT_SYSCALL_NO_FLAGS syscalls. 2013-10-23 09:48:29 -07:00
exec_elf.h Update <sys/exec_elf.h> to include EM_AARCH64. 2013-10-28 21:28:40 -07: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
glibc-syscalls.h Add cfi directives to all arm assembly. 2013-12-02 19:13:12 -08:00
inotify.h Fix header file dependencies. 2013-10-23 11:25:54 -07:00
ioctl.h Include linux/termios.h from sys/ioctl.h. 2013-07-03 13:35:18 -07:00
ioctl_compat.h MIPS support to sys/ headers 2012-08-02 18:03:54 -07:00
ipc.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
klog.h Fix <sys/klog.h> to correspond to the kernel operations. 2012-09-14 15:42:30 -07:00
limits.h Add arch-x86_64/include/machine. 2013-10-04 16:10:13 -07:00
mman.h Add mmap64() 2013-09-19 14:11:26 -07:00
mount.h Clean up <sys/mount.h>/<linux/fs.h> duplication. 2013-07-03 14:58:04 -07:00
param.h Fix the ALIGN and ALIGNBYTES macros for LP64. 2013-10-08 15:31:44 -07:00
personality.h sys/personality.h: include <sys/cdefs.h> 2013-06-05 11:30:17 +08:00
poll.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
prctl.h prctl.h: include sys/cdefs.h 2013-01-23 16:49:47 -08: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 Remove hidden __reboot from header 2013-11-22 00:19:34 +04:00
resource.h Add definition of rlim_t 2010-01-15 15:57:02 -08:00
select.h Fix <sys/select.h> for LP64, clean up <time.h>. 2013-11-05 13:28:36 -08:00
sendfile.h Ensure we have the off64_t variant of every function that takes an off_t. 2013-09-19 16:27:24 -07:00
sha1.h Upgrade more functions to the current upstream NetBSD copy. 2012-10-23 12:29:53 -07:00
signal.h libc: add sys/signal.h for compatibility 2013-02-22 10:38:28 -08:00
signalfd.h Add <sys/statvfs.h>. 2013-07-09 13:25:03 -07:00
socket.h Add SOCK_CLOEXEC and SOCK_NONBLOCK socket flags. 2013-10-17 13:32:32 -07:00
socketcalls.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
stat.h Move away from the __ARCH_WANT_SYSCALL_NO_AT system calls. 2013-10-22 16:31:01 -07:00
statfs.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
statvfs.h Add <sys/statvfs.h>. 2013-07-09 13:25:03 -07:00
swap.h Add <sys/statvfs.h>. 2013-07-09 13:25:03 -07:00
syscall.h Provide glibc-compatible SYS_* aliases for the __NR_* constants. 2013-03-21 18:06:55 -07:00
sysconf.h Define _POSIX_MONOTONIC_CLOCK and implement sysconf(_SC_MONOTONIC_CLOCK). 2013-01-02 14:23:43 -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 bionic: add __system_property_foreach 2013-06-18 19:24:29 -07:00
time.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
timeb.h Ensure header files using __BEGIN_DECLS include sys/cdefs.h. 2013-06-05 17:58:08 -07:00
timerfd.h Make <sys/timerfd.h> standalone. 2013-11-25 13:58:38 -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
ttydefaults.h Add tty defaults to bionic 2012-09-11 22:47:31 +03:00
ttydev.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
types.h Fix useconds_t for LP64. 2013-11-21 08:55:46 -08:00
uio.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
un.h Backwards and forwards compatibility for an upcoming <sys/socket.h> change. 2012-09-12 10:51:05 -07:00
user.h Finish <sys/user.h>. 2013-11-26 17:57:31 -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 Fix struct statfs for LP64. 2013-10-18 17:00:11 -07: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