chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[PATCH] klibc: version 1.0.3
[elogind.git]
/
klibc
/
klibc
/
arch
/
sparc
/
syscall.S
1
/*
2
* arch/sparc/syscall.S
3
*
4
* Common system-call stub; %g1 already set to syscall number
5
*/
6
7
.globl __syscall_common
8
.type __syscall_common,#function
9
.align 4
10
__syscall_common:
11
t 0x10
12
bcc 1f
13
sethi %hi(errno), %g4
14
or %g4, %lo(errno), %g4
15
st %o0,[%g4]
16
mov -1, %o0
17
1:
18
retl
19
nop