Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/vax/include ALIGNENTRY must always be 0 on vax, oth...



details:   https://anonhg.NetBSD.org/src/rev/a6c3a4c53d2d
branches:  trunk
changeset: 532104:a6c3a4c53d2d
user:      ragge <ragge%NetBSD.org@localhost>
date:      Fri May 31 15:22:01 2002 +0000

description:
ALIGNENTRY must always be 0 on vax, otherwise loadfile_aout won't work.

diffstat:

 sys/arch/vax/include/loadfile_machdep.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 6a7e4aa8b281 -r a6c3a4c53d2d sys/arch/vax/include/loadfile_machdep.h
--- a/sys/arch/vax/include/loadfile_machdep.h   Fri May 31 15:04:14 2002 +0000
+++ b/sys/arch/vax/include/loadfile_machdep.h   Fri May 31 15:22:01 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: loadfile_machdep.h,v 1.4 2002/03/31 00:11:13 matt Exp $         */
+/*     $NetBSD: loadfile_machdep.h,v 1.5 2002/05/31 15:22:01 ragge Exp $        */
 
 /*-
  * Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -46,7 +46,7 @@
 #define COUNT_KERNEL           COUNT_ALL
 
 #define LOADADDR(a)            (((u_long)(a)) + offset)
-#define ALIGNENTRY(a)          ((u_long)(a) & ~0xffffff)
+#define ALIGNENTRY(a)          (0)
 #define READ(f, b, c)          read((f), (void *)LOADADDR(b), (c))
 #define BCOPY(s, d, c)         memcpy((void *)LOADADDR(d), (void *)(s), (c))
 #define BZERO(d, c)            memset((void *)LOADADDR(d), 0, (c))



Home | Main Index | Thread Index | Old Index