diff --git a/mach/i386/libsys/head_em.s b/mach/i386/libsys/head_em.s index 6d28f819c..047a23159 100644 --- a/mach/i386/libsys/head_em.s +++ b/mach/i386/libsys/head_em.s @@ -3,6 +3,7 @@ .define begtext,begdata,begbss .define hol0,.reghp,.limhp,.trppc,.ignmask .define ERANGE,ESET,EHEAP,ECASE,EILLINS,EIDIVZ,EODDZ +.define EXIT, BRK ERANGE = 1 ESET = 2 @@ -36,7 +37,12 @@ begtext: push cx call __m_a_i_n push ax +EXIT: call __exit + +BRK: + jmp __brk + .sect .data begdata: hol0: