repo.or.cz
/
newlib-cygwin.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Cygwin: access: Fix X_OK behaviour for backup operators and admins
[newlib-cygwin.git]
/
newlib
/
libc
/
sys
/
a29khif
/
_fstat.S
blob
0144d76d9368b3af0a7cc969e05ff1ddf007718c
1
.file "_fstat.c"
2
.sect .lit,lit
3
gcc2_compiled.:
4
.text
5
.align 4
6
.global __fstat
7
;; syscalls used now -- .global _fstat
8
.word 0x40000
9
__fstat:
10
;; syscalls used now -- _fstat:
11
sub gr1,gr1,32
12
asgeu V_SPILL,gr1,gr126
13
add lr1,gr1,48
14
sll lr5,lr10,0
15
const gr116,__iostat
16
consth gr116,__iostat
17
calli lr0,gr116
18
sll lr2,lr5,0
19
sll lr10,gr96,0
20
jmpt lr10,L8
21
sll gr116,lr10,30
22
jmpf gr116,L3
23
add gr116,lr11,12
24
add gr117,lr11,12
25
const gr116,4096
26
store 0,0,gr116,gr117
27
add gr117,lr11,4
28
const gr116,1
29
jmp L4
30
store 0,0,gr116,gr117
31
L3:
32
const gr117,8192
33
store 0,0,gr117,gr116
34
add gr116,lr11,4
35
store 0,0,gr117,gr116
36
L4:
37
add gr117,lr11,20
38
const gr116,0
39
store 0,0,gr116,gr117
40
store 0,0,gr116,lr11
41
const gr116,_time
42
consth gr116,_time
43
calli lr0,gr116
44
const lr2,0
45
add gr116,lr11,16
46
store 0,0,gr96,gr116
47
sll lr2,lr5,0
48
const lr3,0
49
const lr7,__lseek
50
consth lr7,__lseek
51
calli lr0,lr7
52
const lr4,1
53
sll lr10,gr96,0
54
constn lr6,65535
55
cpneq gr116,lr10,lr6
56
jmpf gr116,L7
57
sll lr2,lr5,0
58
const lr3,0
59
calli lr0,lr7
60
const lr4,2
61
add gr116,lr11,8
62
store 0,0,gr96,gr116
63
cpneq gr96,gr96,lr6
64
jmpf gr96,L7
65
sll lr2,lr5,0
66
sll lr3,lr10,0
67
calli lr0,lr7
68
const lr4,0
69
cpneq gr96,gr96,lr6
70
jmpt gr96,L8
71
const gr96,0
72
L7:
73
constn gr96,65535
74
L8:
75
add gr1,gr1,32
76
nop
77
jmpi lr0
78
asleu V_FILL,lr1,gr127
79