summaryrefslogtreecommitdiff
path: root/newlib/libc/sys/sysvnecv70/open.s
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/sys/sysvnecv70/open.s')
-rw-r--r--newlib/libc/sys/sysvnecv70/open.s10
1 files changed, 10 insertions, 0 deletions
diff --git a/newlib/libc/sys/sysvnecv70/open.s b/newlib/libc/sys/sysvnecv70/open.s
new file mode 100644
index 00000000000..20c1ce338fd
--- /dev/null
+++ b/newlib/libc/sys/sysvnecv70/open.s
@@ -0,0 +1,10 @@
+
+ .globl __open
+ .globl _open
+__open:
+_open: chlvl #0,#5
+ jnl ok
+ jmp cerror
+ok: xor.w r0,r0
+ ret #0
+