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/xxboot Work around for broken unzip rout...



details:   https://anonhg.NetBSD.org/src/rev/0484cfed28d0
branches:  trunk
changeset: 467707:0484cfed28d0
user:      minoura <minoura%NetBSD.org@localhost>
date:      Sat Mar 27 15:01:34 1999 +0000

description:
Work around for broken unzip routine.
Transition to egcs seems to have broken the trickily hacked inflate routine.
Disable the hack and size-consuming title image for a while.

diffstat:

 sys/arch/x68k/stand/xxboot/Makefile         |  4 ++--
 sys/arch/x68k/stand/xxboot/gunzip/inflate.c |  6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)

diffs (48 lines):

diff -r fdf11ddc5378 -r 0484cfed28d0 sys/arch/x68k/stand/xxboot/Makefile
--- a/sys/arch/x68k/stand/xxboot/Makefile       Sat Mar 27 14:13:42 1999 +0000
+++ b/sys/arch/x68k/stand/xxboot/Makefile       Sat Mar 27 15:01:34 1999 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.3 1999/03/16 16:30:22 minoura Exp $
+#      $NetBSD: Makefile,v 1.4 1999/03/27 15:01:34 minoura Exp $
 
 BOOT=  xxboot
 VERSION=0.3
@@ -26,7 +26,7 @@
 CFLAGS+= -W -Wall -Wconversion -Wstrict-prototypes -Wmissing-prototypes
 CFLAGS+= -DTEXTADDR="0x$(TEXT)" -DBOOT=\"$(BOOT)\" -DBOOT_VERS=\"$(VERSION)\"
 CFLAGS+= -DGZIP -DSCSI_ADHOC_BOOTPART
-CFLAGS+= -DTITLE_IMAGE -DIMAGE_EXTRA=100
+#CFLAGS+= -DTITLE_IMAGE -DIMAGE_EXTRA=100      # XXX: minoura, Mar. 99
 #CFLAGS+= -DBOOT_DEBUG
 AFLAGS=        ${CFLAGS:M-[ID]*}
 LDFLAGS=-n -Bstatic -T $(TEXT)
diff -r fdf11ddc5378 -r 0484cfed28d0 sys/arch/x68k/stand/xxboot/gunzip/inflate.c
--- a/sys/arch/x68k/stand/xxboot/gunzip/inflate.c       Sat Mar 27 14:13:42 1999 +0000
+++ b/sys/arch/x68k/stand/xxboot/gunzip/inflate.c       Sat Mar 27 15:01:34 1999 +0000
@@ -100,7 +100,7 @@
  */
 
 #ifdef RCSID
-static char rcsid[] = "$NetBSD: inflate.c,v 1.1 1998/09/01 20:03:46 itohy Exp $";
+static char rcsid[] = "$NetBSD: inflate.c,v 1.2 1999/03/27 15:01:34 minoura Exp $";
 #endif
 
 #include <sys/types.h>
@@ -118,7 +118,7 @@
 #ifdef BOOT
 static voidp fake_malloc_for_inflate OF((unsigned));
 static void fake_free_for_inflate OF((void));
-#ifndef __m68k__
+#if !defined (__m68k__) || 1
 static
 #endif
 int get_byte OF((void));
@@ -297,7 +297,7 @@
 #endif
 #endif
 
-#if defined(__GNUC__) && defined(__m68k__)
+#if defined(__GNUC__) && defined(__m68k__) && 0        /* XXX: minoura Mar. 99 */
 #ifdef BOOT
 /* optimize for size */
 #define NEEDBITS(n) {  \



Home | Main Index | Thread Index | Old Index