Browse Source

No system-calls from libem

ceriel 32 years ago
parent
commit
fd51b64d2c
3 changed files with 4 additions and 4 deletions
  1. 1 1
      mach/ns/libem/putchar.s
  2. 1 1
      mach/z8000/libem/printf.s
  3. 2 2
      mach/z8000/libem/trp.s

+ 1 - 1
mach/ns/libem/putchar.s

@@ -14,7 +14,7 @@
 	movqd	1,tos
 	addr	8(fp),tos
 	movqd	1,tos
-	bsr	__write
+	bsr	WRITE
 	adjspb	-12
 	exit	[]
 	ret	0

+ 1 - 1
mach/z8000/libem/printf.s

@@ -62,7 +62,7 @@ ready:	    !now really print the string we built in the buffer
 	push	*RR14, R3	!count
 	push	*RR14, R1	!buffer
 	push	*RR14, $2	!file descriptor
-	calr	__write
+	calr	WRITE
 	inc	R15, $6
 
 	ldm	R4, savereg, $10

+ 2 - 2
mach/z8000/libem/trp.s

@@ -18,7 +18,7 @@ fatal:
 	pushl	*RR14, saveret
 	calr	trp
 	push	*RR14, $1
-	calr	__exit
+	jr	EXIT
 	!NOTREACHED
 
 trp:
@@ -54,7 +54,7 @@ trp:
 	push	*RR14, $err
 	calr	printf
 	push	*RR14, $1
-	calr	__exit
+	jr	EXIT
 	!NOTREACHED
 .sect .data
 err:	.asciz	"trap error %d\n"