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
/
h8300hms
/
lseek.S
blob
4b3c26750c2eaf70da89c924334e10e5b58b2439
1
;off_t lseek(int fildes, off_t offset, int whence);
2
;Integer arguments have to be zero extended.
3
4
#include "setarch.h"
5
6
.section .text
7
.align 2
8
.global __lseek
9
__lseek:
10
#if defined(__H8300H__) || defined(__H8300S__) || defined (__H8300SX__)
11
#if __INT_MAX__ == 32767
12
extu.l er0
13
extu.l er2
14
#endif
15
#endif
16
jsr @@0xc8
17
rts
18
.end