Module Name: src
Committed By: isaki
Date: Wed Jan 11 09:35:06 UTC 2023
Modified Files:
src/sys/arch/x68k/stand/boot_ufs: Makefile
Log Message:
Add udivdi3/umoddi3 (and ashldi3) that were required by recent UFS change.
This increases xxboot_ufs from about 4.5KB to 5.5KB (The upper limit is 8KB).
Thanks tsutsui@ for advices.
To generate a diff of this commit:
cvs rdiff -u -r1.38 -r1.39 src/sys/arch/x68k/stand/boot_ufs/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/x68k/stand/boot_ufs/Makefile
diff -u src/sys/arch/x68k/stand/boot_ufs/Makefile:1.38 src/sys/arch/x68k/stand/boot_ufs/Makefile:1.39
--- src/sys/arch/x68k/stand/boot_ufs/Makefile:1.38 Wed Dec 15 13:22:34 2021
+++ src/sys/arch/x68k/stand/boot_ufs/Makefile Wed Jan 11 09:35:06 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.38 2021/12/15 13:22:34 christos Exp $
+# $NetBSD: Makefile,v 1.39 2023/01/11 09:35:06 isaki Exp $
NOMAN= # defined
@@ -30,6 +30,12 @@ LIBIOCS= $M/stand/libiocs
SRCS= boot.S bootmain.c readufs.c readufs_ffs.c readufs_lfs.c
SRCS+= exec_image.S memset.S strcmp.S
+.PATH: ${S}/../common/lib/libc/quad
+SRCS+= udivdi3.c umoddi3.c qdivrem.c
+
+.PATH: ${.CURDIR}/../xxboot
+SRCS+= ashldi3.S
+
.include "${S}/conf/newvers_stand.mk"
CFLAGS= -Os -fomit-frame-pointer -fno-unwind-tables