Added entry points for ANSI C
This commit is contained in:
14
mach/pmds/libsys/_unlink.s
Normal file
14
mach/pmds/libsys/_unlink.s
Normal file
@@ -0,0 +1,14 @@
|
||||
.define __unlink
|
||||
.sect .text
|
||||
.sect .rom
|
||||
.sect .data
|
||||
.sect .bss
|
||||
.sect .text
|
||||
.extern __unlink
|
||||
__unlink: trap #0
|
||||
.data2 0xA
|
||||
bcc 1f
|
||||
jmp cerror
|
||||
1:
|
||||
clr.l d0
|
||||
rts
|
||||
Reference in New Issue
Block a user