aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/conf/ldscript.amd642
-rw-r--r--sys/conf/ldscript.i3862
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/conf/ldscript.amd64 b/sys/conf/ldscript.amd64
index a42b8fa70c12..41360ea27ba3 100644
--- a/sys/conf/ldscript.amd64
+++ b/sys/conf/ldscript.amd64
@@ -6,7 +6,7 @@ SEARCH_DIR(/usr/lib);
SECTIONS
{
/* Read-only sections, merged into text segment: */
- . = 0xc0100000 + SIZEOF_HEADERS;
+ . = kernbase + 0x00100000 + SIZEOF_HEADERS;
.interp : { *(.interp) }
.hash : { *(.hash) }
.dynsym : { *(.dynsym) }
diff --git a/sys/conf/ldscript.i386 b/sys/conf/ldscript.i386
index a42b8fa70c12..41360ea27ba3 100644
--- a/sys/conf/ldscript.i386
+++ b/sys/conf/ldscript.i386
@@ -6,7 +6,7 @@ SEARCH_DIR(/usr/lib);
SECTIONS
{
/* Read-only sections, merged into text segment: */
- . = 0xc0100000 + SIZEOF_HEADERS;
+ . = kernbase + 0x00100000 + SIZEOF_HEADERS;
.interp : { *(.interp) }
.hash : { *(.hash) }
.dynsym : { *(.dynsym) }