OSDN Git Service
(root)
/
gb-231r1-is01
/
Gingerbread_2.3.3_r1_IS01.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
original
[gb-231r1-is01/Gingerbread_2.3.3_r1_IS01.git]
/
bionic
/
libc
/
arch-sh
/
syscalls
/
prctl.S
1
/* autogenerated by gensyscalls.py */
2
#include <sys/linux-syscalls.h>
3
4
.text
5
.type prctl, @function
6
.globl prctl
7
.align 4
8
9
prctl:
10
11
/* get ready for additonal arg */
12
mov.l @r15, r0
13
14
/* invoke trap */
15
mov.l 0f, r3 /* trap num */
16
trapa #(5 + 0x10)
17
18
/* check return value */
19
cmp/pz r0
20
bt __NR_prctl_end
21
22
/* keep error number */
23
sts.l pr, @-r15
24
mov.l 1f, r1
25
jsr @r1
26
mov r0, r4
27
lds.l @r15+, pr
28
29
__NR_prctl_end:
30
rts
31
nop
32
33
.align 2
34
0: .long __NR_prctl
35
1: .long __set_syscall_errno