the SIZEOF_HEADERS thing doesn't work with the current toolchain,

just use 1 page for now.
This commit is contained in:
chs 2002-11-28 05:56:51 +00:00
parent 176b75763b
commit fe563d9169

@ -1,4 +1,4 @@
/* $NetBSD: ld.script,v 1.2 2002/08/05 20:58:36 fredette Exp $ */
/* $NetBSD: ld.script,v 1.3 2002/11/28 05:56:51 chs Exp $ */
/* $OpenBSD: ld.script,v 1.7 1999/12/17 07:02:38 mickey Exp $ */
@ -8,7 +8,7 @@ ENTRY(start)
SECTIONS
{
/* Read-only sections, merged into text segment: */
. = + SIZEOF_HEADERS;
. = + 0x1000; /* XXX should be SIZEOF_HEADERS */
.text :
{
kernel_text = . ;