aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/sys/sysvi386/open.s
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/sys/sysvi386/open.s')
-rw-r--r--newlib/libc/sys/sysvi386/open.s9
1 files changed, 9 insertions, 0 deletions
diff --git a/newlib/libc/sys/sysvi386/open.s b/newlib/libc/sys/sysvi386/open.s
new file mode 100644
index 0000000..97356f1
--- /dev/null
+++ b/newlib/libc/sys/sysvi386/open.s
@@ -0,0 +1,9 @@
+
+ .globl _open
+ .globl open
+_open:
+open:
+ movl $5, %eax
+ lcall $7,$0
+ jb _cerror
+ ret