diff --git a/mach/m68020/libem/.distr b/mach/m68020/libem/.distr index 29697030d..d2b4f2884 100644 --- a/mach/m68020/libem/.distr +++ b/mach/m68020/libem/.distr @@ -1,10 +1,2 @@ LIST -Makefile -compmodule -em_end.s -etext.s -edata.s -end.s libem_s.a -trpstr.c -strscript diff --git a/mach/m68020/libem/LIST b/mach/m68020/libem/LIST index c00f673d5..1087a196a 100644 --- a/mach/m68020/libem/LIST +++ b/mach/m68020/libem/LIST @@ -10,7 +10,7 @@ set.s inn.s fat.s trp.s -trpstr.s +trpstr.c mon.s nop.s dia.s diff --git a/mach/m68020/libem/fat.s b/mach/m68020/libem/fat.s index 772838735..12fb17619 100644 --- a/mach/m68020/libem/fat.s +++ b/mach/m68020/libem/fat.s @@ -7,5 +7,5 @@ .sect .text .fatal: jsr (.trp) - jmp (_exit) + jmp (__exit) .align 2 diff --git a/mach/m68020/libem/mon.s b/mach/m68020/libem/mon.s index 4500edf5e..29a37da50 100644 --- a/mach/m68020/libem/mon.s +++ b/mach/m68020/libem/mon.s @@ -10,7 +10,7 @@ pea (fmt) jsr (.diagnos) add.l #8, sp - jmp (_exit) + jmp (__exit) .sect .data fmt: .asciz "system call %d not implemented\n" diff --git a/mach/m68020/libem/trp.s b/mach/m68020/libem/trp.s index 9a45977f9..0e7e27bf7 100644 --- a/mach/m68020/libem/trp.s +++ b/mach/m68020/libem/trp.s @@ -40,11 +40,11 @@ fmt: .asciz "%s\n" rts 9: move.l d0,-(sp) - jsr (.trpstr) + jsr (__trpstr) move.l d0,(sp) pea (fmt) jsr (.diagnos) lea (4, sp), sp illegal - jsr (_exit) + jsr (__exit) .align 2 diff --git a/mach/m68020/libem/trpstr.c b/mach/m68020/libem/trpstr.c index 9f1002611..c2d29f54b 100644 --- a/mach/m68020/libem/trpstr.c +++ b/mach/m68020/libem/trpstr.c @@ -1,6 +1,6 @@ #include char * -trpstr(d) +_trpstr(d) { switch(d) {