fixed more binutils issues (newer gcc/libc)
[zpugcc/jano.git] / toolchain / gcc / newlib / libc / sys / h8300hms / open.S
blob0feaab2178d96ae10f42e2b7b6d7eebfe34ee03f
1 ;int open(const char *pathname, int flags);
2 ;Integer arguments have to be zero extended.
3 ;The second argument is taken from the stack,
4 ;hence it is not zero extended here.
6 #include "setarch.h"
8         .section .text
9         .align 2
10         .global __open
11 __open:
12         jsr @@0xc5
13         rts
14         .end