Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/mipsco/stand/bootxx_ffs Use a 32-bit daddr_t so tha...



details:   https://anonhg.NetBSD.org/src/rev/071e6856ad7f
branches:  trunk
changeset: 542581:071e6856ad7f
user:      simonb <simonb%NetBSD.org@localhost>
date:      Sun Feb 02 00:08:55 2003 +0000

description:
Use a 32-bit daddr_t so that lib/libsa/{ufs,lfs}.c don't pull in 64
bit divide and modulus library routines that break the tight space
constraints on this platform.

diffstat:

 sys/arch/mipsco/stand/bootxx_ffs/Makefile |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (15 lines):

diff -r 8cb7dea0fc7e -r 071e6856ad7f sys/arch/mipsco/stand/bootxx_ffs/Makefile
--- a/sys/arch/mipsco/stand/bootxx_ffs/Makefile Sat Feb 01 23:58:48 2003 +0000
+++ b/sys/arch/mipsco/stand/bootxx_ffs/Makefile Sun Feb 02 00:08:55 2003 +0000
@@ -1,8 +1,10 @@
-#      $NetBSD: Makefile,v 1.1 2000/09/18 11:40:47 wdk Exp $
+#      $NetBSD: Makefile,v 1.2 2003/02/02 00:08:55 simonb Exp $
 
 PRIMARY_PROG=  bootxx_ffs
 CPPFLAGS+=     -DLIBSA_SINGLE_FILESYSTEM=ufs \
                -DBOOTXX_FS_NAME='"FFS"'
+# Use small daddr_t to avoid code bloat
+CPPFLAGS+=     -D__daddr_t=int32_t
 
 PRIMARY_MAX_LOAD!=     expr 8192 - 1024
 



Home | Main Index | Thread Index | Old Index