platform_bionic/libc/arch-arm/syscalls
Matt Fischer e4fa46e75c Set SA_RESTORER in sigaction()
GDB looks for specific opcode sequences when trying to recognize a stack
frame as a signal trampoline.  The sequences it looks for happen to be those
created when SA_RESTORER is set, since glibc always sets a restorer.  This
patch does the same here, so that the trampolines can be correctly identified.

Change-Id: I0ac574a68818cb24d939c3527f3aaeb04b853d04
2010-05-12 14:18:36 -05:00
..
__brk.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
__clone.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
__fcntl.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
__fcntl64.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
__fork.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
__getcwd.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
__getpriority.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
__ioctl.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
__llseek.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
__mmap2.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
__open.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
__openat.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
__pread64.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
__ptrace.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
__pwrite64.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
__reboot.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
__rt_sigaction.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
__rt_sigprocmask.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
__rt_sigtimedwait.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
__set_tls.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
__sigaction.S Set SA_RESTORER in sigaction() 2010-05-12 14:18:36 -05:00
__sigsuspend.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
__statfs64.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
__syslog.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
__timer_create.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
__timer_delete.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
__timer_getoverrun.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
__timer_gettime.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
__timer_settime.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
__wait4.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
_exit.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
_exit_thread.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
accept.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
access.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
acct.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
bind.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
cacheflush.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
capget.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
capset.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
chdir.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
chmod.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
chown.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
chroot.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
clock_getres.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
clock_gettime.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
clock_nanosleep.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
clock_settime.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
close.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
connect.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
delete_module.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
dup.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
dup2.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
epoll_create.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
epoll_ctl.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
epoll_wait.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
execve.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
fchdir.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
fchmod.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
fchmodat.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
fchown.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
fchownat.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
flock.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
fstat.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
fstatat.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
fstatfs.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
fsync.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
ftruncate.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
futex.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
getdents.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
getegid.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
geteuid.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
getgid.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
getgroups.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
getitimer.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
getpeername.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
getpgid.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
getpid.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
getppid.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
getresgid.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
getresuid.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
getrlimit.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
getrusage.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
getsockname.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
getsockopt.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
gettid.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
gettimeofday.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
getuid.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
init_module.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
inotify_add_watch.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
inotify_init.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
inotify_rm_watch.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
klogctl.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
lchown.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
link.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
listen.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
lseek.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
lstat.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
madvise.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
mincore.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
mkdir.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
mkdirat.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
mknod.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
mlock.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
mount.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
mprotect.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
mremap.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
msync.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
munlock.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
munmap.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
nanosleep.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
pause.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
pipe.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
poll.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
prctl.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
read.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
readlink.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
readv.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
recvfrom.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
recvmsg.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
rename.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
renameat.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
rmdir.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
sched_get_priority_max.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
sched_get_priority_min.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
sched_getparam.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
sched_getscheduler.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
sched_rr_get_interval.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
sched_setparam.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
sched_setscheduler.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
sched_yield.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
select.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
sendfile.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
sendmsg.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
sendto.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
setgid.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
setgroups.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
setitimer.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
setpgid.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
setpriority.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
setregid.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
setresgid.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
setresuid.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
setreuid.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
setrlimit.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
setsid.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
setsockopt.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
settimeofday.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
setuid.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
shutdown.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
sigpending.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
sigprocmask.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
socket.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
socketpair.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
stat.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
symlink.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
sync.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
times.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
truncate.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
umask.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
umount2.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
uname.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
unlink.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
unlinkat.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
utimes.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
vfork.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
waitid.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
write.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
writev.S auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00