From: ceriel Date: Tue, 30 Jun 1992 11:39:12 +0000 (+0000) Subject: No system-calls from libem X-Git-Tag: release-5-5~454 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=2ae29707d2fa391ac6f04acb751a27a6132f4ef2;p=ack.git No system-calls from libem --- diff --git a/mach/i386/libem/LIST b/mach/i386/libem/LIST index e9de9fc1a..8826a280a 100644 --- a/mach/i386/libem/LIST +++ b/mach/i386/libem/LIST @@ -39,7 +39,6 @@ set.s sli.s sri.s sti.s -stop.s strhp.s trp.s unknown.s diff --git a/mach/i386/libem/fat.s b/mach/i386/libem/fat.s index 0302552dc..1026c989f 100644 --- a/mach/i386/libem/fat.s +++ b/mach/i386/libem/fat.s @@ -4,7 +4,7 @@ .fat: .extern .trp -.extern .stop +.extern EXIT call .trp - call .stop + jmp EXIT ! no return diff --git a/mach/i386/libem/mon.s b/mach/i386/libem/mon.s index 42cac7ca8..b11798fa9 100644 --- a/mach/i386/libem/mon.s +++ b/mach/i386/libem/mon.s @@ -3,5 +3,5 @@ .define .mon .mon: -.extern .stop - call .stop +.extern EXIT + jmp EXIT diff --git a/mach/i386/libem/strhp.s b/mach/i386/libem/strhp.s index d28131c0f..58e26a950 100644 --- a/mach/i386/libem/strhp.s +++ b/mach/i386/libem/strhp.s @@ -13,7 +13,7 @@ and eax,~0777 push ebx push eax - call __brk + call BRK pop ecx pop ebx cmp eax,-1 diff --git a/mach/i386/libem/trp.s b/mach/i386/libem/trp.s index 24af0e6f4..02073da7d 100644 --- a/mach/i386/libem/trp.s +++ b/mach/i386/libem/trp.s @@ -1,7 +1,7 @@ .sect .text; .sect .rom; .sect .data; .sect .bss .sect .text .define .trp -.extern .trppc, .stop +.extern .trppc, EXIT ! eax is trap number .trp: @@ -15,4 +15,4 @@ ret 2: push eax - call .stop + jmp EXIT