From 0350c1898b2c996ef5417d6f621958c0cbd84f75 Mon Sep 17 00:00:00 2001 From: ceriel Date: Tue, 30 Jun 1992 16:04:38 +0000 Subject: [PATCH] Added EXIT, WRITE and BRK entry point --- mach/m68k2/libsys/head_em.s | 8 +++++++- mach/pmds/libsys/head_em.s | 6 +++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/mach/m68k2/libsys/head_em.s b/mach/m68k2/libsys/head_em.s index 3b90f7eea..ddc01b7ce 100644 --- a/mach/m68k2/libsys/head_em.s +++ b/mach/m68k2/libsys/head_em.s @@ -1,5 +1,5 @@ .define .lino,.filn -.define EXIT +.define EXIT,BRK,WRITE .define begtext,begdata,begbss .define EARRAY,ERANGE,ESET,EIDIVZ,EHEAP,EILLINS,ECASE,EBADGTO .define hol0,.reghp,.limhp,.trpim,.trppc @@ -57,6 +57,12 @@ EXIT: move.w d0,-(sp) jsr __exit +BRK: + jmp __brk + +WRITE: + jmp __write + .sect .data begdata: hol0: diff --git a/mach/pmds/libsys/head_em.s b/mach/pmds/libsys/head_em.s index ff3bf4453..59aebfead 100644 --- a/mach/pmds/libsys/head_em.s +++ b/mach/pmds/libsys/head_em.s @@ -1,5 +1,5 @@ .define .lino,.filn -.define EXIT +.define EXIT,WRITE,BRK .define begtext,begdata,begbss .define EARRAY,ERANGE,ESET,EIDIVZ,EHEAP,EILLINS,ECASE .define hol0,.reghp,.limhp,.trpim,.trppc @@ -33,6 +33,10 @@ EXIT: move.w d0,-(sp) jsr __exit +WRITE: jmp __write + +BRK: jmp __brk + .sect .data begdata: hol0: