repo.or.cz
/
zpugcc
/
jano.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
fixed more binutils issues (newer gcc/libc)
[zpugcc/jano.git]
/
toolchain
/
gcc
/
newlib
/
libc
/
sys
/
h8300hms
/
fstat.S
blob
b89df0cbe3f291da60ffa450f5f5f0e1bc2b62b2
1
;int fstat(int filedes, struct stat *buf);
2
;Integer arguments have to be zero extended.
3
4
#include "setarch.h"
5
6
.section .text
7
.align 2
8
.global __fstat
9
__fstat:
10
#if defined(__H8300H__) || defined(__H8300S__)
11
#if __INT_MAX__ == 32767
12
extu.l er0
13
#endif
14
#endif
15
jsr @@0xcb
16
rts
17
.end
18