aboutsummaryrefslogtreecommitdiff
path: root/sys/conf
diff options
context:
space:
mode:
authorAlan Cox <alc@FreeBSD.org>2011-03-28 06:35:17 +0000
committerAlan Cox <alc@FreeBSD.org>2011-03-28 06:35:17 +0000
commit1c675a3bc30cd3c5fb7973c8444ae662c52df4fe (patch)
tree3b272c999160ba635920218041fd00ed26c442df /sys/conf
parente45dab861ea573e08b47a7a345c00aea9e3ab3e5 (diff)
Notes
Diffstat (limited to 'sys/conf')
-rw-r--r--sys/conf/ldscript.amd643
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/conf/ldscript.amd64 b/sys/conf/ldscript.amd64
index ce275ef6c365..9210a730c30e 100644
--- a/sys/conf/ldscript.amd64
+++ b/sys/conf/ldscript.amd64
@@ -6,7 +6,8 @@ SEARCH_DIR("/usr/lib");
SECTIONS
{
/* Read-only sections, merged into text segment: */
- . = kernbase + CONSTANT (MAXPAGESIZE) + SIZEOF_HEADERS;
+ kernphys = CONSTANT (MAXPAGESIZE);
+ . = kernbase + kernphys + SIZEOF_HEADERS;
.interp : { *(.interp) }
.hash : { *(.hash) }
.gnu.hash : { *(.gnu.hash) }