ALIGNENTRY must always be 0 on vax, otherwise loadfile_aout won't work.
This commit is contained in:
parent
46b946bc5f
commit
787f3adbcf
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue