Browse Source

* Fix from "oco" to get 1.1 working

marco 22 years ago
parent
commit
32a453f71b
2 changed files with 14 additions and 0 deletions
  1. 7 0
      rtl/beos/i386/cprt0.as
  2. 7 0
      rtl/beos/i386/prt0.as

+ 7 - 0
rtl/beos/i386/cprt0.as

@@ -208,3 +208,10 @@ sys_rmdir:
 movl $0x60,%eax
 movl $0x60,%eax
 int $0x25
 int $0x25
 ret
 ret
+
+/* actual syscall */
+.globl sys_call
+.type sys_call,@function
+sys_call:
+int $0x25
+ret

+ 7 - 0
rtl/beos/i386/prt0.as

@@ -172,3 +172,10 @@ sys_rmdir:
 movl $0x60,%eax
 movl $0x60,%eax
 int $0x25
 int $0x25
 ret
 ret
+
+/* actual syscall */
+.globl sys_call
+.type sys_call,@function
+sys_call:
+int $0x25
+ret