No system-calls from libem
authorceriel <none@none>
Tue, 30 Jun 1992 17:43:24 +0000 (17:43 +0000)
committerceriel <none@none>
Tue, 30 Jun 1992 17:43:24 +0000 (17:43 +0000)
mach/ns/libem/putchar.s
mach/z8000/libem/printf.s
mach/z8000/libem/trp.s

index 9cdd0f8..128290b 100644 (file)
@@ -14,7 +14,7 @@
        movqd   1,tos
        addr    8(fp),tos
        movqd   1,tos
-       bsr     __write
+       bsr     WRITE
        adjspb  -12
        exit    []
        ret     0
index 5512c47..00736b7 100755 (executable)
@@ -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
index 4ff5a0c..8c0efbf 100644 (file)
@@ -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"