summaryrefslogtreecommitdiffstats
path: root/sys/boot/pc98/kgzldr
diff options
context:
space:
mode:
authornyan <nyan@FreeBSD.org>2002-09-19 13:47:18 +0000
committernyan <nyan@FreeBSD.org>2002-09-19 13:47:18 +0000
commit0d814ab74a7d6a7ed942694024ce0ac77ba9dff6 (patch)
tree5ecc780c553cb00f6772232637b6b82323160a30 /sys/boot/pc98/kgzldr
parente28806ee625c85e0c1493e3a64b262b88cce3b9f (diff)
downloadFreeBSD-src-0d814ab74a7d6a7ed942694024ce0ac77ba9dff6.zip
FreeBSD-src-0d814ab74a7d6a7ed942694024ce0ac77ba9dff6.tar.gz
MFi386: Remove a.out support.
Diffstat (limited to 'sys/boot/pc98/kgzldr')
-rw-r--r--sys/boot/pc98/kgzldr/Makefile6
-rw-r--r--sys/boot/pc98/kgzldr/crt.s4
2 files changed, 2 insertions, 8 deletions
diff --git a/sys/boot/pc98/kgzldr/Makefile b/sys/boot/pc98/kgzldr/Makefile
index 22f0cb4..ec7e33d 100644
--- a/sys/boot/pc98/kgzldr/Makefile
+++ b/sys/boot/pc98/kgzldr/Makefile
@@ -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>
diff --git a/sys/boot/pc98/kgzldr/crt.s b/sys/boot/pc98/kgzldr/crt.s
index 31ffce4..a1d37a4 100644
--- a/sys/boot/pc98/kgzldr/crt.s
+++ b/sys/boot/pc98/kgzldr/crt.s
@@ -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
OpenPOWER on IntegriCloud