summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authortegge <tegge@FreeBSD.org>1997-06-24 15:56:41 +0000
committertegge <tegge@FreeBSD.org>1997-06-24 15:56:41 +0000
commitb2e3846eadd59a7863ac846ea169b361b800088a (patch)
tree1cdbfd545d98e1332324e1feaae2c086f3f23d7b /usr.bin
parent621608a383f5173ca467f0239df911af2e7eb256 (diff)
downloadFreeBSD-src-b2e3846eadd59a7863ac846ea169b361b800088a.zip
FreeBSD-src-b2e3846eadd59a7863ac846ea169b361b800088a.tar.gz
Don't depend upon the kernel load address being 0xf0100000.
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/kzip/kzip.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/kzip/kzip.c b/usr.bin/kzip/kzip.c
index 8a8545d..f4b9782 100644
--- a/usr.bin/kzip/kzip.c
+++ b/usr.bin/kzip/kzip.c
@@ -9,7 +9,7 @@
* Copyright (C) 1993 Hannu Savolainen
* Ported to 386bsd by Serge Vakulenko
* based on tools/build.c by Linus Torvalds
- * $Id: kzip.c,v 1.7 1997/02/22 19:55:31 peter Exp $
+ * $Id: kzip.c,v 1.8 1997/03/29 04:30:19 imp Exp $
*
*/
@@ -93,7 +93,7 @@ main(int argc, char **argv)
}
size = hdr.a_text + hdr.a_data + hdr.a_bss;
- entry = hdr.a_entry - 0xf0000000; /* replace KZBASE */
+ entry = hdr.a_entry & 0x00FFFFFF;
lseek (fdi, 0, SEEK_SET);
OpenPOWER on IntegriCloud