MFi386: Remove a.out support.

This commit is contained in:
Yoshihiro Takahashi 2002-09-19 13:47:18 +00:00
parent 209238dc3c
commit 5438009281
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=103641
2 changed files with 2 additions and 8 deletions

View File

@ -15,16 +15,10 @@ AFLAGS+=--defsym PC98=1
CLEANFILES=${FILES}
M4?= m4
BOOT_COMCONSOLE_PORT?= 0x238
M4FLAGS+=-DSIOPRT=${BOOT_COMCONSOLE_PORT}
kgzldr.o: ${OBJS}
${CC} ${LDFLAGS} -o ${.TARGET} ${OBJS}
.s.o:
(cd ${.CURDIR}; ${M4} ${M4FLAGS} ../../i386/kgzldr/kgzldr.m4 ${.IMPSRC}) |\
${AS} ${AFLAGS} -o ${.TARGET}
.include <bsd.prog.mk>

View File

@ -46,11 +46,11 @@
.set BDA_POS,0x450 # Cursor position
.endif
.globl _(crt_putchr)
.globl crt_putchr
# void crt_putchr(int c)
_(crt_putchr): movb 0x4(%esp,1),%al # Get character
crt_putchr: movb 0x4(%esp,1),%al # Get character
pusha # Save
xorl %ecx,%ecx # Zero for loops
movb $SCR_MAT,%ah # Mode/attribute