Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/x68k/stand/boot_ufs Add udivdi3/umoddi3 (and ashldi...



details:   https://anonhg.NetBSD.org/src/rev/696858e1b60f
branches:  trunk
changeset: 373000:696858e1b60f
user:      isaki <isaki%NetBSD.org@localhost>
date:      Wed Jan 11 09:35:06 2023 +0000

description:
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.

diffstat:

 sys/arch/x68k/stand/boot_ufs/Makefile |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r b00efe427e9b -r 696858e1b60f sys/arch/x68k/stand/boot_ufs/Makefile
--- a/sys/arch/x68k/stand/boot_ufs/Makefile     Tue Jan 10 18:20:10 2023 +0000
+++ b/sys/arch/x68k/stand/boot_ufs/Makefile     Wed Jan 11 09:35:06 2023 +0000
@@ -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 @@
 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



Home | Main Index | Thread Index | Old Index