am 73981476: merge from open-source master

Merge commit '73981476a389847e8537cca37503c43e107fadc9'

* commit '73981476a389847e8537cca37503c43e107fadc9':
  Fill l_ld of linkmaps with value from soinfo::dynamic.
  modified kernel headers re-generate tools to support SuperH architecture
  added syscalls for SuperH which automatically generate by gensyscalls.py
This commit is contained in:
Jean-Baptiste Queru 2009-10-14 16:18:14 -07:00 committed by Android Git Automerger
commit 35af95026e
161 changed files with 5219 additions and 4 deletions

157
libc/arch-sh/syscalls.mk Normal file
View File

@ -0,0 +1,157 @@
# auto-generated by gensyscalls.py, do not touch
syscall_src :=
syscall_src += arch-sh/syscalls/_exit.S
syscall_src += arch-sh/syscalls/_exit_thread.S
syscall_src += arch-sh/syscalls/__fork.S
syscall_src += arch-sh/syscalls/_waitpid.S
syscall_src += arch-sh/syscalls/waitid.S
syscall_src += arch-sh/syscalls/__clone.S
syscall_src += arch-sh/syscalls/execve.S
syscall_src += arch-sh/syscalls/setuid.S
syscall_src += arch-sh/syscalls/getuid.S
syscall_src += arch-sh/syscalls/getgid.S
syscall_src += arch-sh/syscalls/geteuid.S
syscall_src += arch-sh/syscalls/getegid.S
syscall_src += arch-sh/syscalls/getresuid.S
syscall_src += arch-sh/syscalls/getresgid.S
syscall_src += arch-sh/syscalls/gettid.S
syscall_src += arch-sh/syscalls/getgroups.S
syscall_src += arch-sh/syscalls/getpgid.S
syscall_src += arch-sh/syscalls/getppid.S
syscall_src += arch-sh/syscalls/setsid.S
syscall_src += arch-sh/syscalls/setgid.S
syscall_src += arch-sh/syscalls/setreuid.S
syscall_src += arch-sh/syscalls/setresuid.S
syscall_src += arch-sh/syscalls/setresgid.S
syscall_src += arch-sh/syscalls/__brk.S
syscall_src += arch-sh/syscalls/kill.S
syscall_src += arch-sh/syscalls/tkill.S
syscall_src += arch-sh/syscalls/__ptrace.S
syscall_src += arch-sh/syscalls/__set_thread_area.S
syscall_src += arch-sh/syscalls/__getpriority.S
syscall_src += arch-sh/syscalls/setpriority.S
syscall_src += arch-sh/syscalls/setrlimit.S
syscall_src += arch-sh/syscalls/getrlimit.S
syscall_src += arch-sh/syscalls/getrusage.S
syscall_src += arch-sh/syscalls/setgroups.S
syscall_src += arch-sh/syscalls/setpgid.S
syscall_src += arch-sh/syscalls/vfork.S
syscall_src += arch-sh/syscalls/setregid.S
syscall_src += arch-sh/syscalls/chroot.S
syscall_src += arch-sh/syscalls/prctl.S
syscall_src += arch-sh/syscalls/capget.S
syscall_src += arch-sh/syscalls/capset.S
syscall_src += arch-sh/syscalls/acct.S
syscall_src += arch-sh/syscalls/read.S
syscall_src += arch-sh/syscalls/write.S
syscall_src += arch-sh/syscalls/__pread64.S
syscall_src += arch-sh/syscalls/__pwrite64.S
syscall_src += arch-sh/syscalls/__open.S
syscall_src += arch-sh/syscalls/__openat.S
syscall_src += arch-sh/syscalls/close.S
syscall_src += arch-sh/syscalls/lseek.S
syscall_src += arch-sh/syscalls/__llseek.S
syscall_src += arch-sh/syscalls/getpid.S
syscall_src += arch-sh/syscalls/__mmap2.S
syscall_src += arch-sh/syscalls/munmap.S
syscall_src += arch-sh/syscalls/mremap.S
syscall_src += arch-sh/syscalls/msync.S
syscall_src += arch-sh/syscalls/mprotect.S
syscall_src += arch-sh/syscalls/madvise.S
syscall_src += arch-sh/syscalls/mlock.S
syscall_src += arch-sh/syscalls/munlock.S
syscall_src += arch-sh/syscalls/mincore.S
syscall_src += arch-sh/syscalls/__ioctl.S
syscall_src += arch-sh/syscalls/readv.S
syscall_src += arch-sh/syscalls/writev.S
syscall_src += arch-sh/syscalls/__fcntl.S
syscall_src += arch-sh/syscalls/flock.S
syscall_src += arch-sh/syscalls/fchmod.S
syscall_src += arch-sh/syscalls/dup.S
syscall_src += arch-sh/syscalls/dup2.S
syscall_src += arch-sh/syscalls/select.S
syscall_src += arch-sh/syscalls/ftruncate.S
syscall_src += arch-sh/syscalls/getdents.S
syscall_src += arch-sh/syscalls/fsync.S
syscall_src += arch-sh/syscalls/fchown.S
syscall_src += arch-sh/syscalls/sync.S
syscall_src += arch-sh/syscalls/__fcntl64.S
syscall_src += arch-sh/syscalls/fstatfs.S
syscall_src += arch-sh/syscalls/sendfile.S
syscall_src += arch-sh/syscalls/fstatat.S
syscall_src += arch-sh/syscalls/mkdirat.S
syscall_src += arch-sh/syscalls/fchownat.S
syscall_src += arch-sh/syscalls/fchmodat.S
syscall_src += arch-sh/syscalls/renameat.S
syscall_src += arch-sh/syscalls/link.S
syscall_src += arch-sh/syscalls/unlink.S
syscall_src += arch-sh/syscalls/unlinkat.S
syscall_src += arch-sh/syscalls/chdir.S
syscall_src += arch-sh/syscalls/mknod.S
syscall_src += arch-sh/syscalls/chmod.S
syscall_src += arch-sh/syscalls/chown.S
syscall_src += arch-sh/syscalls/lchown.S
syscall_src += arch-sh/syscalls/mount.S
syscall_src += arch-sh/syscalls/umount2.S
syscall_src += arch-sh/syscalls/fstat.S
syscall_src += arch-sh/syscalls/stat.S
syscall_src += arch-sh/syscalls/lstat.S
syscall_src += arch-sh/syscalls/mkdir.S
syscall_src += arch-sh/syscalls/readlink.S
syscall_src += arch-sh/syscalls/rmdir.S
syscall_src += arch-sh/syscalls/rename.S
syscall_src += arch-sh/syscalls/__getcwd.S
syscall_src += arch-sh/syscalls/access.S
syscall_src += arch-sh/syscalls/symlink.S
syscall_src += arch-sh/syscalls/fchdir.S
syscall_src += arch-sh/syscalls/truncate.S
syscall_src += arch-sh/syscalls/__statfs64.S
syscall_src += arch-sh/syscalls/pause.S
syscall_src += arch-sh/syscalls/gettimeofday.S
syscall_src += arch-sh/syscalls/settimeofday.S
syscall_src += arch-sh/syscalls/times.S
syscall_src += arch-sh/syscalls/nanosleep.S
syscall_src += arch-sh/syscalls/clock_gettime.S
syscall_src += arch-sh/syscalls/clock_settime.S
syscall_src += arch-sh/syscalls/clock_getres.S
syscall_src += arch-sh/syscalls/clock_nanosleep.S
syscall_src += arch-sh/syscalls/getitimer.S
syscall_src += arch-sh/syscalls/setitimer.S
syscall_src += arch-sh/syscalls/__timer_create.S
syscall_src += arch-sh/syscalls/__timer_settime.S
syscall_src += arch-sh/syscalls/__timer_gettime.S
syscall_src += arch-sh/syscalls/__timer_getoverrun.S
syscall_src += arch-sh/syscalls/__timer_delete.S
syscall_src += arch-sh/syscalls/utimes.S
syscall_src += arch-sh/syscalls/sigaction.S
syscall_src += arch-sh/syscalls/sigprocmask.S
syscall_src += arch-sh/syscalls/__sigsuspend.S
syscall_src += arch-sh/syscalls/__rt_sigaction.S
syscall_src += arch-sh/syscalls/__rt_sigprocmask.S
syscall_src += arch-sh/syscalls/__rt_sigtimedwait.S
syscall_src += arch-sh/syscalls/sigpending.S
syscall_src += arch-sh/syscalls/__socketcall.S
syscall_src += arch-sh/syscalls/sched_setscheduler.S
syscall_src += arch-sh/syscalls/sched_getscheduler.S
syscall_src += arch-sh/syscalls/sched_yield.S
syscall_src += arch-sh/syscalls/sched_setparam.S
syscall_src += arch-sh/syscalls/sched_getparam.S
syscall_src += arch-sh/syscalls/sched_get_priority_max.S
syscall_src += arch-sh/syscalls/sched_get_priority_min.S
syscall_src += arch-sh/syscalls/sched_rr_get_interval.S
syscall_src += arch-sh/syscalls/uname.S
syscall_src += arch-sh/syscalls/__wait4.S
syscall_src += arch-sh/syscalls/umask.S
syscall_src += arch-sh/syscalls/__reboot.S
syscall_src += arch-sh/syscalls/__syslog.S
syscall_src += arch-sh/syscalls/init_module.S
syscall_src += arch-sh/syscalls/delete_module.S
syscall_src += arch-sh/syscalls/klogctl.S
syscall_src += arch-sh/syscalls/futex.S
syscall_src += arch-sh/syscalls/epoll_create.S
syscall_src += arch-sh/syscalls/epoll_ctl.S
syscall_src += arch-sh/syscalls/epoll_wait.S
syscall_src += arch-sh/syscalls/inotify_init.S
syscall_src += arch-sh/syscalls/inotify_add_watch.S
syscall_src += arch-sh/syscalls/inotify_rm_watch.S
syscall_src += arch-sh/syscalls/poll.S

View File

@ -0,0 +1,32 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
.text
.type __brk, @function
.globl __brk
.align 4
__brk:
/* invoke trap */
mov.l 0f, r3 /* trap num */
trapa #(1 + 0x10)
/* check return value */
cmp/pz r0
bt __NR_brk_end
/* keep error number */
sts.l pr, @-r15
mov.l 1f, r1
jsr @r1
mov r0, r4
lds.l @r15+, pr
__NR_brk_end:
rts
nop
.align 2
0: .long __NR_brk
1: .long __set_syscall_errno

View File

@ -0,0 +1,32 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
.text
.type __clone, @function
.globl __clone
.align 4
__clone:
/* invoke trap */
mov.l 0f, r3 /* trap num */
trapa #(4 + 0x10)
/* check return value */
cmp/pz r0
bt __NR_clone_end
/* keep error number */
sts.l pr, @-r15
mov.l 1f, r1
jsr @r1
mov r0, r4
lds.l @r15+, pr
__NR_clone_end:
rts
nop
.align 2
0: .long __NR_clone
1: .long __set_syscall_errno

View File

@ -0,0 +1,32 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
.text
.type __fcntl, @function
.globl __fcntl
.align 4
__fcntl:
/* invoke trap */
mov.l 0f, r3 /* trap num */
trapa #(3 + 0x10)
/* check return value */
cmp/pz r0
bt __NR_fcntl_end
/* keep error number */
sts.l pr, @-r15
mov.l 1f, r1
jsr @r1
mov r0, r4
lds.l @r15+, pr
__NR_fcntl_end:
rts
nop
.align 2
0: .long __NR_fcntl
1: .long __set_syscall_errno

View File

@ -0,0 +1,32 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
.text
.type __fcntl64, @function
.globl __fcntl64
.align 4
__fcntl64:
/* invoke trap */
mov.l 0f, r3 /* trap num */
trapa #(3 + 0x10)
/* check return value */
cmp/pz r0
bt __NR_fcntl64_end
/* keep error number */
sts.l pr, @-r15
mov.l 1f, r1
jsr @r1
mov r0, r4
lds.l @r15+, pr
__NR_fcntl64_end:
rts
nop
.align 2
0: .long __NR_fcntl64
1: .long __set_syscall_errno

View File

@ -0,0 +1,32 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
.text
.type __fork, @function
.globl __fork
.align 4
__fork:
/* invoke trap */
mov.l 0f, r3 /* trap num */
trapa #(1 + 0x10)
/* check return value */
cmp/pz r0
bt __NR_fork_end
/* keep error number */
sts.l pr, @-r15
mov.l 1f, r1
jsr @r1
mov r0, r4
lds.l @r15+, pr
__NR_fork_end:
rts
nop
.align 2
0: .long __NR_fork
1: .long __set_syscall_errno

View File

@ -0,0 +1,32 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
.text
.type __getcwd, @function
.globl __getcwd
.align 4
__getcwd:
/* invoke trap */
mov.l 0f, r3 /* trap num */
trapa #(2 + 0x10)
/* check return value */
cmp/pz r0
bt __NR_getcwd_end
/* keep error number */
sts.l pr, @-r15
mov.l 1f, r1
jsr @r1
mov r0, r4
lds.l @r15+, pr
__NR_getcwd_end:
rts
nop
.align 2
0: .long __NR_getcwd
1: .long __set_syscall_errno

View File

@ -0,0 +1,32 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
.text
.type __getpriority, @function
.globl __getpriority
.align 4
__getpriority:
/* invoke trap */
mov.l 0f, r3 /* trap num */
trapa #(2 + 0x10)
/* check return value */
cmp/pz r0
bt __NR_getpriority_end
/* keep error number */
sts.l pr, @-r15
mov.l 1f, r1
jsr @r1
mov r0, r4
lds.l @r15+, pr
__NR_getpriority_end:
rts
nop
.align 2
0: .long __NR_getpriority
1: .long __set_syscall_errno

View File

@ -0,0 +1,32 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
.text
.type __ioctl, @function
.globl __ioctl
.align 4
__ioctl:
/* invoke trap */
mov.l 0f, r3 /* trap num */
trapa #(3 + 0x10)
/* check return value */
cmp/pz r0
bt __NR_ioctl_end
/* keep error number */
sts.l pr, @-r15
mov.l 1f, r1
jsr @r1
mov r0, r4
lds.l @r15+, pr
__NR_ioctl_end:
rts
nop
.align 2
0: .long __NR_ioctl
1: .long __set_syscall_errno

View File

@ -0,0 +1,35 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
.text
.type __llseek, @function
.globl __llseek
.align 4
__llseek:
/* get ready for additonal arg */
mov.l @r15, r0
/* invoke trap */
mov.l 0f, r3 /* trap num */
trapa #(5 + 0x10)
/* check return value */
cmp/pz r0
bt __NR__llseek_end
/* keep error number */
sts.l pr, @-r15
mov.l 1f, r1
jsr @r1
mov r0, r4
lds.l @r15+, pr
__NR__llseek_end:
rts
nop
.align 2
0: .long __NR__llseek
1: .long __set_syscall_errno

View File

@ -0,0 +1,36 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
.text
.type __mmap2, @function
.globl __mmap2
.align 4
__mmap2:
/* get ready for additonal arg */
mov.l @r15, r0
mov.l @(4, r15), r1
/* invoke trap */
mov.l 0f, r3 /* trap num */
trapa #(6 + 0x10)
/* check return value */
cmp/pz r0
bt __NR_mmap2_end
/* keep error number */
sts.l pr, @-r15
mov.l 1f, r1
jsr @r1
mov r0, r4
lds.l @r15+, pr
__NR_mmap2_end:
rts
nop
.align 2
0: .long __NR_mmap2
1: .long __set_syscall_errno

View File

@ -0,0 +1,32 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
.text
.type __open, @function
.globl __open
.align 4
__open:
/* invoke trap */
mov.l 0f, r3 /* trap num */
trapa #(3 + 0x10)
/* check return value */
cmp/pz r0
bt __NR_open_end
/* keep error number */
sts.l pr, @-r15
mov.l 1f, r1
jsr @r1
mov r0, r4
lds.l @r15+, pr
__NR_open_end:
rts
nop
.align 2
0: .long __NR_open
1: .long __set_syscall_errno

View File

@ -0,0 +1,32 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
.text
.type __openat, @function
.globl __openat
.align 4
__openat:
/* invoke trap */
mov.l 0f, r3 /* trap num */
trapa #(4 + 0x10)
/* check return value */
cmp/pz r0
bt __NR_openat_end
/* keep error number */
sts.l pr, @-r15
mov.l 1f, r1
jsr @r1
mov r0, r4
lds.l @r15+, pr
__NR_openat_end:
rts
nop
.align 2
0: .long __NR_openat
1: .long __set_syscall_errno

View File

@ -0,0 +1,35 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
.text
.type __pread64, @function
.globl __pread64
.align 4
__pread64:
/* get ready for additonal arg */
mov.l @r15, r0
/* invoke trap */
mov.l 0f, r3 /* trap num */
trapa #(5 + 0x10)
/* check return value */
cmp/pz r0
bt __NR_pread64_end
/* keep error number */
sts.l pr, @-r15
mov.l 1f, r1
jsr @r1
mov r0, r4
lds.l @r15+, pr
__NR_pread64_end:
rts
nop
.align 2
0: .long __NR_pread64
1: .long __set_syscall_errno

View File

@ -0,0 +1,32 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
.text
.type __ptrace, @function
.globl __ptrace
.align 4
__ptrace:
/* invoke trap */
mov.l 0f, r3 /* trap num */
trapa #(4 + 0x10)
/* check return value */
cmp/pz r0
bt __NR_ptrace_end
/* keep error number */
sts.l pr, @-r15
mov.l 1f, r1
jsr @r1
mov r0, r4
lds.l @r15+, pr
__NR_ptrace_end:
rts
nop
.align 2
0: .long __NR_ptrace
1: .long __set_syscall_errno

View File

@ -0,0 +1,35 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
.text
.type __pwrite64, @function
.globl __pwrite64
.align 4
__pwrite64:
/* get ready for additonal arg */
mov.l @r15, r0
/* invoke trap */
mov.l 0f, r3 /* trap num */
trapa #(5 + 0x10)
/* check return value */
cmp/pz r0
bt __NR_pwrite64_end
/* keep error number */
sts.l pr, @-r15
mov.l 1f, r1
jsr @r1
mov r0, r4
lds.l @r15+, pr
__NR_pwrite64_end:
rts
nop
.align 2
0: .long __NR_pwrite64
1: .long __set_syscall_errno

View File

@ -0,0 +1,32 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
.text
.type __reboot, @function
.globl __reboot
.align 4
__reboot:
/* invoke trap */
mov.l 0f, r3 /* trap num */
trapa #(4 + 0x10)
/* check return value */
cmp/pz r0
bt __NR_reboot_end
/* keep error number */
sts.l pr, @-r15
mov.l 1f, r1
jsr @r1
mov r0, r4
lds.l @r15+, pr
__NR_reboot_end:
rts
nop
.align 2
0: .long __NR_reboot
1: .long __set_syscall_errno

View File

@ -0,0 +1,32 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
.text
.type __rt_sigaction, @function
.globl __rt_sigaction
.align 4
__rt_sigaction:
/* invoke trap */
mov.l 0f, r3 /* trap num */
trapa #(4 + 0x10)
/* check return value */
cmp/pz r0
bt __NR_rt_sigaction_end
/* keep error number */
sts.l pr, @-r15
mov.l 1f, r1
jsr @r1
mov r0, r4
lds.l @r15+, pr
__NR_rt_sigaction_end:
rts
nop
.align 2
0: .long __NR_rt_sigaction
1: .long __set_syscall_errno

View File

@ -0,0 +1,32 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
.text
.type __rt_sigprocmask, @function
.globl __rt_sigprocmask
.align 4
__rt_sigprocmask:
/* invoke trap */
mov.l 0f, r3 /* trap num */
trapa #(4 + 0x10)
/* check return value */
cmp/pz r0
bt __NR_rt_sigprocmask_end
/* keep error number */
sts.l pr, @-r15
mov.l 1f, r1
jsr @r1
mov r0, r4
lds.l @r15+, pr
__NR_rt_sigprocmask_end:
rts
nop
.align 2
0: .long __NR_rt_sigprocmask
1: .long __set_syscall_errno

View File

@ -0,0 +1,32 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
.text
.type __rt_sigtimedwait, @function
.globl __rt_sigtimedwait
.align 4
__rt_sigtimedwait:
/* invoke trap */
mov.l 0f, r3 /* trap num */
trapa #(4 + 0x10)
/* check return value */
cmp/pz r0
bt __NR_rt_sigtimedwait_end
/* keep error number */
sts.l pr, @-r15
mov.l 1f, r1
jsr @r1
mov r0, r4
lds.l @r15+, pr
__NR_rt_sigtimedwait_end:
rts
nop
.align 2
0: .long __NR_rt_sigtimedwait
1: .long __set_syscall_errno

View File

@ -0,0 +1,32 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
.text
.type __set_thread_area, @function
.globl __set_thread_area
.align 4
__set_thread_area:
/* invoke trap */
mov.l 0f, r3 /* trap num */
trapa #(1 + 0x10)
/* check return value */
cmp/pz r0
bt __NR_set_thread_area_end
/* keep error number */
sts.l pr, @-r15
mov.l 1f, r1
jsr @r1
mov r0, r4
lds.l @r15+, pr
__NR_set_thread_area_end:
rts
nop
.align 2
0: .long __NR_set_thread_area
1: .long __set_syscall_errno

View File

@ -0,0 +1,32 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
.text
.type __sigsuspend, @function
.globl __sigsuspend
.align 4
__sigsuspend:
/* invoke trap */
mov.l 0f, r3 /* trap num */
trapa #(3 + 0x10)
/* check return value */
cmp/pz r0
bt __NR_sigsuspend_end
/* keep error number */
sts.l pr, @-r15
mov.l 1f, r1
jsr @r1
mov r0, r4
lds.l @r15+, pr
__NR_sigsuspend_end:
rts
nop
.align 2
0: .long __NR_sigsuspend
1: .long __set_syscall_errno

View File

@ -0,0 +1,32 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
.text
.type __socketcall, @function
.globl __socketcall
.align 4
__socketcall:
/* invoke trap */
mov.l 0f, r3 /* trap num */
trapa #(2 + 0x10)
/* check return value */
cmp/pz r0
bt __NR___socketcall_end
/* keep error number */
sts.l pr, @-r15
mov.l 1f, r1
jsr @r1
mov r0, r4
lds.l @r15+, pr
__NR___socketcall_end:
rts
nop
.align 2
0: .long __NR___socketcall
1: .long __set_syscall_errno

View File

@ -0,0 +1,32 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
.text
.type __statfs64, @function
.globl __statfs64
.align 4
__statfs64:
/* invoke trap */
mov.l 0f, r3 /* trap num */
trapa #(3 + 0x10)
/* check return value */
cmp/pz r0
bt __NR_statfs64_end
/* keep error number */
sts.l pr, @-r15
mov.l 1f, r1
jsr @r1
mov r0, r4
lds.l @r15+, pr
__NR_statfs64_end:
rts
nop
.align 2
0: .long __NR_statfs64
1: .long __set_syscall_errno

View File

@ -0,0 +1,32 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
.text
.type __syslog, @function
.globl __syslog
.align 4
__syslog:
/* invoke trap */
mov.l 0f, r3 /* trap num */
trapa #(3 + 0x10)
/* check return value */
cmp/pz r0
bt __NR_syslog_end
/* keep error number */
sts.l pr, @-r15
mov.l 1f, r1
jsr @r1
mov r0, r4
lds.l @r15+, pr
__NR_syslog_end:
rts
nop
.align 2
0: .long __NR_syslog
1: .long __set_syscall_errno

View File

@ -0,0 +1,32 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
.text
.type __timer_create, @function
.globl __timer_create
.align 4
__timer_create:
/* invoke trap */
mov.l 0f, r3 /* trap num */
trapa #(3 + 0x10)
/* check return value */
cmp/pz r0
bt __NR_timer_create_end
/* keep error number */
sts.l pr, @-r15
mov.l 1f, r1
jsr @r1
mov r0, r4
lds.l @r15+, pr
__NR_timer_create_end:
rts
nop
.align 2
0: .long __NR_timer_create
1: .long __set_syscall_errno

View File

@ -0,0 +1,32 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
.text
.type __timer_delete, @function
.globl __timer_delete
.align 4
__timer_delete:
/* invoke trap */
mov.l 0f, r3 /* trap num */
trapa #(1 + 0x10)
/* check return value */
cmp/pz r0
bt __NR_timer_delete_end
/* keep error number */
sts.l pr, @-r15
mov.l 1f, r1
jsr @r1
mov r0, r4
lds.l @r15+, pr
__NR_timer_delete_end:
rts
nop
.align 2
0: .long __NR_timer_delete
1: .long __set_syscall_errno

View File

@ -0,0 +1,32 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
.text
.type __timer_getoverrun, @function
.globl __timer_getoverrun
.align 4
__timer_getoverrun:
/* invoke trap */
mov.l 0f, r3 /* trap num */
trapa #(1 + 0x10)
/* check return value */
cmp/pz r0
bt __NR_timer_getoverrun_end
/* keep error number */
sts.l pr, @-r15
mov.l 1f, r1
jsr @r1
mov r0, r4
lds.l @r15+, pr
__NR_timer_getoverrun_end:
rts
nop
.align 2
0: .long __NR_timer_getoverrun
1: .long __set_syscall_errno

View File

@ -0,0 +1,32 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
.text
.type __timer_gettime, @function
.globl __timer_gettime
.align 4
__timer_gettime:
/* invoke trap */
mov.l 0f, r3 /* trap num */
trapa #(2 + 0x10)
/* check return value */
cmp/pz r0
bt __NR_timer_gettime_end
/* keep error number */
sts.l pr, @-r15
mov.l 1f, r1
jsr @r1
mov r0, r4
lds.l @r15+, pr
__NR_timer_gettime_end:
rts
nop
.align 2
0: .long __NR_timer_gettime
1: .long __set_syscall_errno

View File

@ -0,0 +1,32 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
.text
.type __timer_settime, @function
.globl __timer_settime
.align 4
__timer_settime:
/* invoke trap */
mov.l 0f, r3 /* trap num */
trapa #(4 + 0x10)
/* check return value */
cmp/pz r0
bt __NR_timer_settime_end
/* keep error number */
sts.l pr, @-r15
mov.l 1f, r1
jsr @r1
mov r0, r4
lds.l @r15+, pr
__NR_timer_settime_end:
rts
nop
.align 2
0: .long __NR_timer_settime
1: .long __set_syscall_errno

View File

@ -0,0 +1,32 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
.text
.type __wait4, @function
.globl __wait4
.align 4
__wait4:
/* invoke trap */
mov.l 0f, r3 /* trap num */
trapa #(4 + 0x10)
/* check return value */
cmp/pz r0
bt __NR_wait4_end
/* keep error number */
sts.l pr, @-r15
mov.l 1f, r1
jsr @r1
mov r0, r4
lds.l @r15+, pr
__NR_wait4_end:
rts
nop
.align 2
0: .long __NR_wait4
1: .long __set_syscall_errno

View File

@ -0,0 +1,32 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
.text
.type _exit, @function
.globl _exit
.align 4
_exit:
/* invoke trap */
mov.l 0f, r3 /* trap num */
trapa #(1 + 0x10)
/* check return value */
cmp/pz r0
bt __NR_exit_group_end
/* keep error number */
sts.l pr, @-r15
mov.l 1f, r1
jsr @r1
mov r0, r4
lds.l @r15+, pr
__NR_exit_group_end:
rts
nop
.align 2
0: .long __NR_exit_group
1: .long __set_syscall_errno

View File

@ -0,0 +1,32 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
.text
.type _exit_thread, @function
.globl _exit_thread
.align 4
_exit_thread:
/* invoke trap */
mov.l 0f, r3 /* trap num */
trapa #(1 + 0x10)
/* check return value */
cmp/pz r0
bt __NR_exit_end
/* keep error number */
sts.l pr, @-r15
mov.l 1f, r1
jsr @r1
mov r0, r4
lds.l @r15+, pr
__NR_exit_end:
rts
nop
.align 2
0: .long __NR_exit
1: .long __set_syscall_errno

View File

@ -0,0 +1,32 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
.text
.type _waitpid, @function
.globl _waitpid
.align 4
_waitpid:
/* invoke trap */
mov.l 0f, r3 /* trap num */
trapa #(4 + 0x10)
/* check return value */
cmp/pz r0
bt __NR_waitpid_end
/* keep error number */
sts.l pr, @-r15
mov.l 1f, r1
jsr @r1
mov r0, r4
lds.l @r15+, pr
__NR_waitpid_end:
rts
nop
.align 2
0: .long __NR_waitpid
1: .long __set_syscall_errno

View File

@ -0,0 +1,32 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
.text
.type access, @function
.globl access
.align 4
access:
/* invoke trap */
mov.l 0f, r3 /* trap num */
trapa #(2 + 0x10)
/* check return value */
cmp/pz r0
bt __NR_access_end
/* keep error number */
sts.l pr, @-r15
mov.l 1f, r1
jsr @r1
mov r0, r4
lds.l @r15+, pr
__NR_access_end:
rts
nop
.align 2
0: .long __NR_access
1: .long __set_syscall_errno

View File

@ -0,0 +1,32 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
.text
.type acct, @function
.globl acct
.align 4
acct:
/* invoke trap */
mov.l 0f, r3 /* trap num */
trapa #(1 + 0x10)
/* check return value */
cmp/pz r0
bt __NR_acct_end
/* keep error number */
sts.l pr, @-r15
mov.l 1f, r1
jsr @r1
mov r0, r4
lds.l @r15+, pr
__NR_acct_end:
rts
nop
.align 2
0: .long __NR_acct
1: .long __set_syscall_errno

View File

@ -0,0 +1,32 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
.text
.type capget, @function
.globl capget
.align 4
capget:
/* invoke trap */
mov.l 0f, r3 /* trap num */
trapa #(2 + 0x10)
/* check return value */
cmp/pz r0
bt __NR_capget_end
/* keep error number */
sts.l pr, @-r15
mov.l 1f, r1
jsr @r1
mov r0, r4
lds.l @r15+, pr
__NR_capget_end:
rts
nop
.align 2
0: .long __NR_capget
1: .long __set_syscall_errno

View File

@ -0,0 +1,32 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
.text
.type capset, @function
.globl capset
.align 4
capset:
/* invoke trap */
mov.l 0f, r3 /* trap num */
trapa #(2 + 0x10)
/* check return value */
cmp/pz r0
bt __NR_capset_end
/* keep error number */
sts.l pr, @-r15
mov.l 1f, r1
jsr @r1
mov r0, r4
lds.l @r15+, pr
__NR_capset_end:
rts
nop
.align 2
0: .long __NR_capset
1: .long __set_syscall_errno

View File

@ -0,0 +1,32 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
.text
.type chdir, @function
.globl chdir
.align 4
chdir:
/* invoke trap */
mov.l 0f, r3 /* trap num */
trapa #(1 + 0x10)
/* check return value */
cmp/pz r0
bt __NR_chdir_end
/* keep error number */
sts.l pr, @-r15
mov.l 1f, r1
jsr @r1
mov r0, r4
lds.l @r15+, pr
__NR_chdir_end:
rts
nop
.align 2
0: .long __NR_chdir
1: .long __set_syscall_errno

View File

@ -0,0 +1,32 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
.text
.type chmod, @function
.globl chmod
.align 4
chmod:
/* invoke trap */
mov.l 0f, r3 /* trap num */
trapa #(2 + 0x10)
/* check return value */
cmp/pz r0
bt __NR_chmod_end
/* keep error number */
sts.l pr, @-r15
mov.l 1f, r1
jsr @r1
mov r0, r4
lds.l @r15+, pr
__NR_chmod_end:
rts
nop
.align 2
0: .long __NR_chmod
1: .long __set_syscall_errno

View File

@ -0,0 +1,32 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
.text
.type chown, @function
.globl chown
.align 4
chown:
/* invoke trap */
mov.l 0f, r3 /* trap num */
trapa #(3 + 0x10)
/* check return value */
cmp/pz r0
bt __NR_chown32_end
/* keep error number */
sts.l pr, @-r15
mov.l 1f, r1
jsr @r1
mov r0, r4
lds.l @r15+, pr
__NR_chown32_end:
rts
nop
.align 2
0: .long __NR_chown32
1: .long __set_syscall_errno

View File

@ -0,0 +1,32 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
.text
.type chroot, @function
.globl chroot
.align 4
chroot:
/* invoke trap */
mov.l 0f, r3 /* trap num */
trapa #(1 + 0x10)
/* check return value */
cmp/pz r0
bt __NR_chroot_end
/* keep error number */
sts.l pr, @-r15
mov.l 1f, r1
jsr @r1
mov r0, r4
lds.l @r15+, pr
__NR_chroot_end:
rts
nop
.align 2
0: .long __NR_chroot
1: .long __set_syscall_errno

View File

@ -0,0 +1,32 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
.text
.type clock_getres, @function
.globl clock_getres
.align 4
clock_getres:
/* invoke trap */
mov.l 0f, r3 /* trap num */
trapa #(2 + 0x10)
/* check return value */
cmp/pz r0
bt __NR_clock_getres_end
/* keep error number */
sts.l pr, @-r15
mov.l 1f, r1
jsr @r1
mov r0, r4
lds.l @r15+, pr
__NR_clock_getres_end:
rts
nop
.align 2
0: .long __NR_clock_getres
1: .long __set_syscall_errno

View File

@ -0,0 +1,32 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
.text
.type clock_gettime, @function
.globl clock_gettime
.align 4
clock_gettime:
/* invoke trap */
mov.l 0f, r3 /* trap num */
trapa #(2 + 0x10)
/* check return value */
cmp/pz r0
bt __NR_clock_gettime_end
/* keep error number */
sts.l pr, @-r15
mov.l 1f, r1
jsr @r1
mov r0, r4
lds.l @r15+, pr
__NR_clock_gettime_end:
rts
nop
.align 2
0: .long __NR_clock_gettime
1: .long __set_syscall_errno

View File

@ -0,0 +1,32 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
.text
.type clock_nanosleep, @function
.globl clock_nanosleep
.align 4
clock_nanosleep:
/* invoke trap */
mov.l 0f, r3 /* trap num */
trapa #(2 + 0x10)
/* check return value */
cmp/pz r0
bt __NR_clock_nanosleep_end
/* keep error number */
sts.l pr, @-r15
mov.l 1f, r1
jsr @r1
mov r0, r4
lds.l @r15+, pr
__NR_clock_nanosleep_end:
rts
nop
.align 2
0: .long __NR_clock_nanosleep
1: .long __set_syscall_errno

View File

@ -0,0 +1,32 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
.text
.type clock_settime, @function
.globl clock_settime
.align 4
clock_settime:
/* invoke trap */
mov.l 0f, r3 /* trap num */
trapa #(2 + 0x10)
/* check return value */
cmp/pz r0
bt __NR_clock_settime_end
/* keep error number */
sts.l pr, @-r15
mov.l 1f, r1
jsr @r1
mov r0, r4
lds.l @r15+, pr
__NR_clock_settime_end:
rts
nop
.align 2
0: .long __NR_clock_settime
1: .long __set_syscall_errno

View File

@ -0,0 +1,32 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
.text
.type close, @function
.globl close
.align 4
close:
/* invoke trap */
mov.l 0f, r3 /* trap num */
trapa #(1 + 0x10)
/* check return value */
cmp/pz r0
bt __NR_close_end
/* keep error number */
sts.l pr, @-r15
mov.l 1f, r1
jsr @r1
mov r0, r4
lds.l @r15+, pr
__NR_close_end:
rts
nop
.align 2
0: .long __NR_close
1: .long __set_syscall_errno

View File

@ -0,0 +1,32 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
.text
.type delete_module, @function
.globl delete_module
.align 4
delete_module:
/* invoke trap */
mov.l 0f, r3 /* trap num */
trapa #(2 + 0x10)
/* check return value */
cmp/pz r0
bt __NR_delete_module_end
/* keep error number */
sts.l pr, @-r15
mov.l 1f, r1
jsr @r1
mov r0, r4
lds.l @r15+, pr
__NR_delete_module_end:
rts
nop
.align 2
0: .long __NR_delete_module
1: .long __set_syscall_errno

View File

@ -0,0 +1,32 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
.text
.type dup, @function
.globl dup
.align 4
dup:
/* invoke trap */
mov.l 0f, r3 /* trap num */
trapa #(1 + 0x10)
/* check return value */
cmp/pz r0
bt __NR_dup_end
/* keep error number */
sts.l pr, @-r15
mov.l 1f, r1
jsr @r1
mov r0, r4
lds.l @r15+, pr
__NR_dup_end:
rts
nop
.align 2
0: .long __NR_dup
1: .long __set_syscall_errno

View File

@ -0,0 +1,32 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
.text
.type dup2, @function
.globl dup2
.align 4
dup2:
/* invoke trap */
mov.l 0f, r3 /* trap num */
trapa #(2 + 0x10)
/* check return value */
cmp/pz r0
bt __NR_dup2_end
/* keep error number */
sts.l pr, @-r15
mov.l 1f, r1
jsr @r1
mov r0, r4
lds.l @r15+, pr
__NR_dup2_end:
rts
nop
.align 2
0: .long __NR_dup2
1: .long __set_syscall_errno

View File

@ -0,0 +1,32 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
.text
.type epoll_create, @function
.globl epoll_create
.align 4
epoll_create:
/* invoke trap */
mov.l 0f, r3 /* trap num */
trapa #(1 + 0x10)
/* check return value */
cmp/pz r0
bt __NR_epoll_create_end
/* keep error number */
sts.l pr, @-r15
mov.l 1f, r1
jsr @r1
mov r0, r4
lds.l @r15+, pr
__NR_epoll_create_end:
rts
nop
.align 2
0: .long __NR_epoll_create
1: .long __set_syscall_errno

View File

@ -0,0 +1,32 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
.text
.type epoll_ctl, @function
.globl epoll_ctl
.align 4
epoll_ctl:
/* invoke trap */
mov.l 0f, r3 /* trap num */
trapa #(4 + 0x10)
/* check return value */
cmp/pz r0
bt __NR_epoll_ctl_end
/* keep error number */
sts.l pr, @-r15
mov.l 1f, r1
jsr @r1
mov r0, r4
lds.l @r15+, pr
__NR_epoll_ctl_end:
rts
nop
.align 2
0: .long __NR_epoll_ctl
1: .long __set_syscall_errno

View File

@ -0,0 +1,32 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
.text
.type epoll_wait, @function
.globl epoll_wait
.align 4
epoll_wait:
/* invoke trap */
mov.l 0f, r3 /* trap num */
trapa #(4 + 0x10)
/* check return value */
cmp/pz r0
bt __NR_epoll_wait_end
/* keep error number */
sts.l pr, @-r15
mov.l 1f, r1
jsr @r1
mov r0, r4
lds.l @r15+, pr
__NR_epoll_wait_end:
rts
nop
.align 2
0: .long __NR_epoll_wait
1: .long __set_syscall_errno

View File

@ -0,0 +1,32 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
.text
.type execve, @function
.globl execve
.align 4
execve:
/* invoke trap */
mov.l 0f, r3 /* trap num */
trapa #(3 + 0x10)
/* check return value */
cmp/pz r0
bt __NR_execve_end
/* keep error number */
sts.l pr, @-r15
mov.l 1f, r1
jsr @r1
mov r0, r4
lds.l @r15+, pr
__NR_execve_end:
rts
nop
.align 2
0: .long __NR_execve
1: .long __set_syscall_errno

View File

@ -0,0 +1,32 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
.text
.type fchdir, @function
.globl fchdir
.align 4
fchdir:
/* invoke trap */
mov.l 0f, r3 /* trap num */
trapa #(1 + 0x10)
/* check return value */
cmp/pz r0
bt __NR_fchdir_end
/* keep error number */
sts.l pr, @-r15
mov.l 1f, r1
jsr @r1
mov r0, r4
lds.l @r15+, pr
__NR_fchdir_end:
rts
nop
.align 2
0: .long __NR_fchdir
1: .long __set_syscall_errno

View File

@ -0,0 +1,32 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
.text
.type fchmod, @function
.globl fchmod
.align 4
fchmod:
/* invoke trap */
mov.l 0f, r3 /* trap num */
trapa #(2 + 0x10)
/* check return value */
cmp/pz r0
bt __NR_fchmod_end
/* keep error number */
sts.l pr, @-r15
mov.l 1f, r1
jsr @r1
mov r0, r4
lds.l @r15+, pr
__NR_fchmod_end:
rts
nop
.align 2
0: .long __NR_fchmod
1: .long __set_syscall_errno

View File

@ -0,0 +1,32 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
.text
.type fchmodat, @function
.globl fchmodat
.align 4
fchmodat:
/* invoke trap */
mov.l 0f, r3 /* trap num */
trapa #(4 + 0x10)
/* check return value */
cmp/pz r0
bt __NR_fchmodat_end
/* keep error number */
sts.l pr, @-r15
mov.l 1f, r1
jsr @r1
mov r0, r4
lds.l @r15+, pr
__NR_fchmodat_end:
rts
nop
.align 2
0: .long __NR_fchmodat
1: .long __set_syscall_errno

View File

@ -0,0 +1,32 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
.text
.type fchown, @function
.globl fchown
.align 4
fchown:
/* invoke trap */
mov.l 0f, r3 /* trap num */
trapa #(3 + 0x10)
/* check return value */
cmp/pz r0
bt __NR_fchown32_end
/* keep error number */
sts.l pr, @-r15
mov.l 1f, r1
jsr @r1
mov r0, r4
lds.l @r15+, pr
__NR_fchown32_end:
rts
nop
.align 2
0: .long __NR_fchown32
1: .long __set_syscall_errno

View File

@ -0,0 +1,35 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
.text
.type fchownat, @function
.globl fchownat
.align 4
fchownat:
/* get ready for additonal arg */
mov.l @r15, r0
/* invoke trap */
mov.l 0f, r3 /* trap num */
trapa #(5 + 0x10)
/* check return value */
cmp/pz r0
bt __NR_fchownat_end
/* keep error number */
sts.l pr, @-r15
mov.l 1f, r1
jsr @r1
mov r0, r4
lds.l @r15+, pr
__NR_fchownat_end:
rts
nop
.align 2
0: .long __NR_fchownat
1: .long __set_syscall_errno

View File

@ -0,0 +1,32 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
.text
.type flock, @function
.globl flock
.align 4
flock:
/* invoke trap */
mov.l 0f, r3 /* trap num */
trapa #(2 + 0x10)
/* check return value */
cmp/pz r0
bt __NR_flock_end
/* keep error number */
sts.l pr, @-r15
mov.l 1f, r1
jsr @r1
mov r0, r4
lds.l @r15+, pr
__NR_flock_end:
rts
nop
.align 2
0: .long __NR_flock
1: .long __set_syscall_errno

View File

@ -0,0 +1,32 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
.text
.type fstat, @function
.globl fstat
.align 4
fstat:
/* invoke trap */
mov.l 0f, r3 /* trap num */
trapa #(2 + 0x10)
/* check return value */
cmp/pz r0
bt __NR_fstat64_end
/* keep error number */
sts.l pr, @-r15
mov.l 1f, r1
jsr @r1
mov r0, r4
lds.l @r15+, pr
__NR_fstat64_end:
rts
nop
.align 2
0: .long __NR_fstat64
1: .long __set_syscall_errno

View File

@ -0,0 +1,32 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
.text
.type fstatat, @function
.globl fstatat
.align 4
fstatat:
/* invoke trap */
mov.l 0f, r3 /* trap num */
trapa #(4 + 0x10)
/* check return value */
cmp/pz r0
bt __NR_fstatat64_end
/* keep error number */
sts.l pr, @-r15
mov.l 1f, r1
jsr @r1
mov r0, r4
lds.l @r15+, pr
__NR_fstatat64_end:
rts
nop
.align 2
0: .long __NR_fstatat64
1: .long __set_syscall_errno

View File

@ -0,0 +1,32 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
.text
.type fstatfs, @function
.globl fstatfs
.align 4
fstatfs:
/* invoke trap */
mov.l 0f, r3 /* trap num */
trapa #(3 + 0x10)
/* check return value */
cmp/pz r0
bt __NR_fstatfs64_end
/* keep error number */
sts.l pr, @-r15
mov.l 1f, r1
jsr @r1
mov r0, r4
lds.l @r15+, pr
__NR_fstatfs64_end:
rts
nop
.align 2
0: .long __NR_fstatfs64
1: .long __set_syscall_errno

View File

@ -0,0 +1,32 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
.text
.type fsync, @function
.globl fsync
.align 4
fsync:
/* invoke trap */
mov.l 0f, r3 /* trap num */
trapa #(1 + 0x10)
/* check return value */
cmp/pz r0
bt __NR_fsync_end
/* keep error number */
sts.l pr, @-r15
mov.l 1f, r1
jsr @r1
mov r0, r4
lds.l @r15+, pr
__NR_fsync_end:
rts
nop
.align 2
0: .long __NR_fsync
1: .long __set_syscall_errno

View File

@ -0,0 +1,32 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
.text
.type ftruncate, @function
.globl ftruncate
.align 4
ftruncate:
/* invoke trap */
mov.l 0f, r3 /* trap num */
trapa #(2 + 0x10)
/* check return value */
cmp/pz r0
bt __NR_ftruncate_end
/* keep error number */
sts.l pr, @-r15
mov.l 1f, r1
jsr @r1
mov r0, r4
lds.l @r15+, pr
__NR_ftruncate_end:
rts
nop
.align 2
0: .long __NR_ftruncate
1: .long __set_syscall_errno

View File

@ -0,0 +1,36 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
.text
.type futex, @function
.globl futex
.align 4
futex:
/* get ready for additonal arg */
mov.l @r15, r0
mov.l @(4, r15), r1
/* invoke trap */
mov.l 0f, r3 /* trap num */
trapa #(6 + 0x10)
/* check return value */
cmp/pz r0
bt __NR_futex_end
/* keep error number */
sts.l pr, @-r15
mov.l 1f, r1
jsr @r1
mov r0, r4
lds.l @r15+, pr
__NR_futex_end:
rts
nop
.align 2
0: .long __NR_futex
1: .long __set_syscall_errno

View File

@ -0,0 +1,32 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
.text
.type getdents, @function
.globl getdents
.align 4
getdents:
/* invoke trap */
mov.l 0f, r3 /* trap num */
trapa #(3 + 0x10)
/* check return value */
cmp/pz r0
bt __NR_getdents64_end
/* keep error number */
sts.l pr, @-r15
mov.l 1f, r1
jsr @r1
mov r0, r4
lds.l @r15+, pr
__NR_getdents64_end:
rts
nop
.align 2
0: .long __NR_getdents64
1: .long __set_syscall_errno

View File

@ -0,0 +1,32 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
.text
.type getegid, @function
.globl getegid
.align 4
getegid:
/* invoke trap */
mov.l 0f, r3 /* trap num */
trapa #(0 + 0x10)
/* check return value */
cmp/pz r0
bt __NR_getegid32_end
/* keep error number */
sts.l pr, @-r15
mov.l 1f, r1
jsr @r1
mov r0, r4
lds.l @r15+, pr
__NR_getegid32_end:
rts
nop
.align 2
0: .long __NR_getegid32
1: .long __set_syscall_errno

View File

@ -0,0 +1,32 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
.text
.type geteuid, @function
.globl geteuid
.align 4
geteuid:
/* invoke trap */
mov.l 0f, r3 /* trap num */
trapa #(0 + 0x10)
/* check return value */
cmp/pz r0
bt __NR_geteuid32_end
/* keep error number */
sts.l pr, @-r15
mov.l 1f, r1
jsr @r1
mov r0, r4
lds.l @r15+, pr
__NR_geteuid32_end:
rts
nop
.align 2
0: .long __NR_geteuid32
1: .long __set_syscall_errno

View File

@ -0,0 +1,32 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
.text
.type getgid, @function
.globl getgid
.align 4
getgid:
/* invoke trap */
mov.l 0f, r3 /* trap num */
trapa #(0 + 0x10)
/* check return value */
cmp/pz r0
bt __NR_getgid32_end
/* keep error number */
sts.l pr, @-r15
mov.l 1f, r1
jsr @r1
mov r0, r4
lds.l @r15+, pr
__NR_getgid32_end:
rts
nop
.align 2
0: .long __NR_getgid32
1: .long __set_syscall_errno

View File

@ -0,0 +1,32 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
.text
.type getgroups, @function
.globl getgroups
.align 4
getgroups:
/* invoke trap */
mov.l 0f, r3 /* trap num */
trapa #(2 + 0x10)
/* check return value */
cmp/pz r0
bt __NR_getgroups32_end
/* keep error number */
sts.l pr, @-r15
mov.l 1f, r1
jsr @r1
mov r0, r4
lds.l @r15+, pr
__NR_getgroups32_end:
rts
nop
.align 2
0: .long __NR_getgroups32
1: .long __set_syscall_errno

View File

@ -0,0 +1,32 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
.text
.type getitimer, @function
.globl getitimer
.align 4
getitimer:
/* invoke trap */
mov.l 0f, r3 /* trap num */
trapa #(2 + 0x10)
/* check return value */
cmp/pz r0
bt __NR_getitimer_end
/* keep error number */
sts.l pr, @-r15
mov.l 1f, r1
jsr @r1
mov r0, r4
lds.l @r15+, pr
__NR_getitimer_end:
rts
nop
.align 2
0: .long __NR_getitimer
1: .long __set_syscall_errno

View File

@ -0,0 +1,32 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
.text
.type getpgid, @function
.globl getpgid
.align 4
getpgid:
/* invoke trap */
mov.l 0f, r3 /* trap num */
trapa #(1 + 0x10)
/* check return value */
cmp/pz r0
bt __NR_getpgid_end
/* keep error number */
sts.l pr, @-r15
mov.l 1f, r1
jsr @r1
mov r0, r4
lds.l @r15+, pr
__NR_getpgid_end:
rts
nop
.align 2
0: .long __NR_getpgid
1: .long __set_syscall_errno

View File

@ -0,0 +1,32 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
.text
.type getpid, @function
.globl getpid
.align 4
getpid:
/* invoke trap */
mov.l 0f, r3 /* trap num */
trapa #(0 + 0x10)
/* check return value */
cmp/pz r0
bt __NR_getpid_end
/* keep error number */
sts.l pr, @-r15
mov.l 1f, r1
jsr @r1
mov r0, r4
lds.l @r15+, pr
__NR_getpid_end:
rts
nop
.align 2
0: .long __NR_getpid
1: .long __set_syscall_errno

View File

@ -0,0 +1,32 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
.text
.type getppid, @function
.globl getppid
.align 4
getppid:
/* invoke trap */
mov.l 0f, r3 /* trap num */
trapa #(0 + 0x10)
/* check return value */
cmp/pz r0
bt __NR_getppid_end
/* keep error number */
sts.l pr, @-r15
mov.l 1f, r1
jsr @r1
mov r0, r4
lds.l @r15+, pr
__NR_getppid_end:
rts
nop
.align 2
0: .long __NR_getppid
1: .long __set_syscall_errno

View File

@ -0,0 +1,32 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
.text
.type getresgid, @function
.globl getresgid
.align 4
getresgid:
/* invoke trap */
mov.l 0f, r3 /* trap num */
trapa #(0 + 0x10)
/* check return value */
cmp/pz r0
bt __NR_getresgid32_end
/* keep error number */
sts.l pr, @-r15
mov.l 1f, r1
jsr @r1
mov r0, r4
lds.l @r15+, pr
__NR_getresgid32_end:
rts
nop
.align 2
0: .long __NR_getresgid32
1: .long __set_syscall_errno

View File

@ -0,0 +1,32 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
.text
.type getresuid, @function
.globl getresuid
.align 4
getresuid:
/* invoke trap */
mov.l 0f, r3 /* trap num */
trapa #(0 + 0x10)
/* check return value */
cmp/pz r0
bt __NR_getresuid32_end
/* keep error number */
sts.l pr, @-r15
mov.l 1f, r1
jsr @r1
mov r0, r4
lds.l @r15+, pr
__NR_getresuid32_end:
rts
nop
.align 2
0: .long __NR_getresuid32
1: .long __set_syscall_errno

View File

@ -0,0 +1,32 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
.text
.type getrlimit, @function
.globl getrlimit
.align 4
getrlimit:
/* invoke trap */
mov.l 0f, r3 /* trap num */
trapa #(2 + 0x10)
/* check return value */
cmp/pz r0
bt __NR_ugetrlimit_end
/* keep error number */
sts.l pr, @-r15
mov.l 1f, r1
jsr @r1
mov r0, r4
lds.l @r15+, pr
__NR_ugetrlimit_end:
rts
nop
.align 2
0: .long __NR_ugetrlimit
1: .long __set_syscall_errno

View File

@ -0,0 +1,32 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
.text
.type getrusage, @function
.globl getrusage
.align 4
getrusage:
/* invoke trap */
mov.l 0f, r3 /* trap num */
trapa #(2 + 0x10)
/* check return value */
cmp/pz r0
bt __NR_getrusage_end
/* keep error number */
sts.l pr, @-r15
mov.l 1f, r1
jsr @r1
mov r0, r4
lds.l @r15+, pr
__NR_getrusage_end:
rts
nop
.align 2
0: .long __NR_getrusage
1: .long __set_syscall_errno

View File

@ -0,0 +1,32 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
.text
.type gettid, @function
.globl gettid
.align 4
gettid:
/* invoke trap */
mov.l 0f, r3 /* trap num */
trapa #(0 + 0x10)
/* check return value */
cmp/pz r0
bt __NR_gettid_end
/* keep error number */
sts.l pr, @-r15
mov.l 1f, r1
jsr @r1
mov r0, r4
lds.l @r15+, pr
__NR_gettid_end:
rts
nop
.align 2
0: .long __NR_gettid
1: .long __set_syscall_errno

View File

@ -0,0 +1,32 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
.text
.type gettimeofday, @function
.globl gettimeofday
.align 4
gettimeofday:
/* invoke trap */
mov.l 0f, r3 /* trap num */
trapa #(2 + 0x10)
/* check return value */
cmp/pz r0
bt __NR_gettimeofday_end
/* keep error number */
sts.l pr, @-r15
mov.l 1f, r1
jsr @r1
mov r0, r4
lds.l @r15+, pr
__NR_gettimeofday_end:
rts
nop
.align 2
0: .long __NR_gettimeofday
1: .long __set_syscall_errno

View File

@ -0,0 +1,32 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
.text
.type getuid, @function
.globl getuid
.align 4
getuid:
/* invoke trap */
mov.l 0f, r3 /* trap num */
trapa #(0 + 0x10)
/* check return value */
cmp/pz r0
bt __NR_getuid32_end
/* keep error number */
sts.l pr, @-r15
mov.l 1f, r1
jsr @r1
mov r0, r4
lds.l @r15+, pr
__NR_getuid32_end:
rts
nop
.align 2
0: .long __NR_getuid32
1: .long __set_syscall_errno

View File

@ -0,0 +1,32 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
.text
.type init_module, @function
.globl init_module
.align 4
init_module:
/* invoke trap */
mov.l 0f, r3 /* trap num */
trapa #(3 + 0x10)
/* check return value */
cmp/pz r0
bt __NR_init_module_end
/* keep error number */
sts.l pr, @-r15
mov.l 1f, r1
jsr @r1
mov r0, r4
lds.l @r15+, pr
__NR_init_module_end:
rts
nop
.align 2
0: .long __NR_init_module
1: .long __set_syscall_errno

View File

@ -0,0 +1,32 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
.text
.type inotify_add_watch, @function
.globl inotify_add_watch
.align 4
inotify_add_watch:
/* invoke trap */
mov.l 0f, r3 /* trap num */
trapa #(3 + 0x10)
/* check return value */
cmp/pz r0
bt __NR_inotify_add_watch_end
/* keep error number */
sts.l pr, @-r15
mov.l 1f, r1
jsr @r1
mov r0, r4
lds.l @r15+, pr
__NR_inotify_add_watch_end:
rts
nop
.align 2
0: .long __NR_inotify_add_watch
1: .long __set_syscall_errno

View File

@ -0,0 +1,32 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
.text
.type inotify_init, @function
.globl inotify_init
.align 4
inotify_init:
/* invoke trap */
mov.l 0f, r3 /* trap num */
trapa #(1 + 0x10)
/* check return value */
cmp/pz r0
bt __NR_inotify_init_end
/* keep error number */
sts.l pr, @-r15
mov.l 1f, r1
jsr @r1
mov r0, r4
lds.l @r15+, pr
__NR_inotify_init_end:
rts
nop
.align 2
0: .long __NR_inotify_init
1: .long __set_syscall_errno

View File

@ -0,0 +1,32 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
.text
.type inotify_rm_watch, @function
.globl inotify_rm_watch
.align 4
inotify_rm_watch:
/* invoke trap */
mov.l 0f, r3 /* trap num */
trapa #(2 + 0x10)
/* check return value */
cmp/pz r0
bt __NR_inotify_rm_watch_end
/* keep error number */
sts.l pr, @-r15
mov.l 1f, r1
jsr @r1
mov r0, r4
lds.l @r15+, pr
__NR_inotify_rm_watch_end:
rts
nop
.align 2
0: .long __NR_inotify_rm_watch
1: .long __set_syscall_errno

View File

@ -0,0 +1,32 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
.text
.type kill, @function
.globl kill
.align 4
kill:
/* invoke trap */
mov.l 0f, r3 /* trap num */
trapa #(2 + 0x10)
/* check return value */
cmp/pz r0
bt __NR_kill_end
/* keep error number */
sts.l pr, @-r15
mov.l 1f, r1
jsr @r1
mov r0, r4
lds.l @r15+, pr
__NR_kill_end:
rts
nop
.align 2
0: .long __NR_kill
1: .long __set_syscall_errno

View File

@ -0,0 +1,32 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
.text
.type klogctl, @function
.globl klogctl
.align 4
klogctl:
/* invoke trap */
mov.l 0f, r3 /* trap num */
trapa #(3 + 0x10)
/* check return value */
cmp/pz r0
bt __NR_syslog_end
/* keep error number */
sts.l pr, @-r15
mov.l 1f, r1
jsr @r1
mov r0, r4
lds.l @r15+, pr
__NR_syslog_end:
rts
nop
.align 2
0: .long __NR_syslog
1: .long __set_syscall_errno

View File

@ -0,0 +1,32 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
.text
.type lchown, @function
.globl lchown
.align 4
lchown:
/* invoke trap */
mov.l 0f, r3 /* trap num */
trapa #(3 + 0x10)
/* check return value */
cmp/pz r0
bt __NR_lchown32_end
/* keep error number */
sts.l pr, @-r15
mov.l 1f, r1
jsr @r1
mov r0, r4
lds.l @r15+, pr
__NR_lchown32_end:
rts
nop
.align 2
0: .long __NR_lchown32
1: .long __set_syscall_errno

View File

@ -0,0 +1,32 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
.text
.type link, @function
.globl link
.align 4
link:
/* invoke trap */
mov.l 0f, r3 /* trap num */
trapa #(2 + 0x10)
/* check return value */
cmp/pz r0
bt __NR_link_end
/* keep error number */
sts.l pr, @-r15
mov.l 1f, r1
jsr @r1
mov r0, r4
lds.l @r15+, pr
__NR_link_end:
rts
nop
.align 2
0: .long __NR_link
1: .long __set_syscall_errno

View File

@ -0,0 +1,32 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
.text
.type lseek, @function
.globl lseek
.align 4
lseek:
/* invoke trap */
mov.l 0f, r3 /* trap num */
trapa #(3 + 0x10)
/* check return value */
cmp/pz r0
bt __NR_lseek_end
/* keep error number */
sts.l pr, @-r15
mov.l 1f, r1
jsr @r1
mov r0, r4
lds.l @r15+, pr
__NR_lseek_end:
rts
nop
.align 2
0: .long __NR_lseek
1: .long __set_syscall_errno

View File

@ -0,0 +1,32 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
.text
.type lstat, @function
.globl lstat
.align 4
lstat:
/* invoke trap */
mov.l 0f, r3 /* trap num */
trapa #(2 + 0x10)
/* check return value */
cmp/pz r0
bt __NR_lstat64_end
/* keep error number */
sts.l pr, @-r15
mov.l 1f, r1
jsr @r1
mov r0, r4
lds.l @r15+, pr
__NR_lstat64_end:
rts
nop
.align 2
0: .long __NR_lstat64
1: .long __set_syscall_errno

View File

@ -0,0 +1,32 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
.text
.type madvise, @function
.globl madvise
.align 4
madvise:
/* invoke trap */
mov.l 0f, r3 /* trap num */
trapa #(3 + 0x10)
/* check return value */
cmp/pz r0
bt __NR_madvise_end
/* keep error number */
sts.l pr, @-r15
mov.l 1f, r1
jsr @r1
mov r0, r4
lds.l @r15+, pr
__NR_madvise_end:
rts
nop
.align 2
0: .long __NR_madvise
1: .long __set_syscall_errno

View File

@ -0,0 +1,32 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
.text
.type mincore, @function
.globl mincore
.align 4
mincore:
/* invoke trap */
mov.l 0f, r3 /* trap num */
trapa #(3 + 0x10)
/* check return value */
cmp/pz r0
bt __NR_mincore_end
/* keep error number */
sts.l pr, @-r15
mov.l 1f, r1
jsr @r1
mov r0, r4
lds.l @r15+, pr
__NR_mincore_end:
rts
nop
.align 2
0: .long __NR_mincore
1: .long __set_syscall_errno

View File

@ -0,0 +1,32 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
.text
.type mkdir, @function
.globl mkdir
.align 4
mkdir:
/* invoke trap */
mov.l 0f, r3 /* trap num */
trapa #(2 + 0x10)
/* check return value */
cmp/pz r0
bt __NR_mkdir_end
/* keep error number */
sts.l pr, @-r15
mov.l 1f, r1
jsr @r1
mov r0, r4
lds.l @r15+, pr
__NR_mkdir_end:
rts
nop
.align 2
0: .long __NR_mkdir
1: .long __set_syscall_errno

View File

@ -0,0 +1,32 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
.text
.type mkdirat, @function
.globl mkdirat
.align 4
mkdirat:
/* invoke trap */
mov.l 0f, r3 /* trap num */
trapa #(3 + 0x10)
/* check return value */
cmp/pz r0
bt __NR_mkdirat_end
/* keep error number */
sts.l pr, @-r15
mov.l 1f, r1
jsr @r1
mov r0, r4
lds.l @r15+, pr
__NR_mkdirat_end:
rts
nop
.align 2
0: .long __NR_mkdirat
1: .long __set_syscall_errno

View File

@ -0,0 +1,32 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
.text
.type mknod, @function
.globl mknod
.align 4
mknod:
/* invoke trap */
mov.l 0f, r3 /* trap num */
trapa #(3 + 0x10)
/* check return value */
cmp/pz r0
bt __NR_mknod_end
/* keep error number */
sts.l pr, @-r15
mov.l 1f, r1
jsr @r1
mov r0, r4
lds.l @r15+, pr
__NR_mknod_end:
rts
nop
.align 2
0: .long __NR_mknod
1: .long __set_syscall_errno

View File

@ -0,0 +1,32 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
.text
.type mlock, @function
.globl mlock
.align 4
mlock:
/* invoke trap */
mov.l 0f, r3 /* trap num */
trapa #(2 + 0x10)
/* check return value */
cmp/pz r0
bt __NR_mlock_end
/* keep error number */
sts.l pr, @-r15
mov.l 1f, r1
jsr @r1
mov r0, r4
lds.l @r15+, pr
__NR_mlock_end:
rts
nop
.align 2
0: .long __NR_mlock
1: .long __set_syscall_errno

View File

@ -0,0 +1,35 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
.text
.type mount, @function
.globl mount
.align 4
mount:
/* get ready for additonal arg */
mov.l @r15, r0
/* invoke trap */
mov.l 0f, r3 /* trap num */
trapa #(5 + 0x10)
/* check return value */
cmp/pz r0
bt __NR_mount_end
/* keep error number */
sts.l pr, @-r15
mov.l 1f, r1
jsr @r1
mov r0, r4
lds.l @r15+, pr
__NR_mount_end:
rts
nop
.align 2
0: .long __NR_mount
1: .long __set_syscall_errno

View File

@ -0,0 +1,32 @@
/* autogenerated by gensyscalls.py */
#include <sys/linux-syscalls.h>
.text
.type mprotect, @function
.globl mprotect
.align 4
mprotect:
/* invoke trap */
mov.l 0f, r3 /* trap num */
trapa #(3 + 0x10)
/* check return value */
cmp/pz r0
bt __NR_mprotect_end
/* keep error number */
sts.l pr, @-r15
mov.l 1f, r1
jsr @r1
mov r0, r4
lds.l @r15+, pr
__NR_mprotect_end:
rts
nop
.align 2
0: .long __NR_mprotect
1: .long __set_syscall_errno

Some files were not shown because too many files have changed in this diff Show More