Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/amd64/conf Set the kernel load (physical) address a...



details:   https://anonhg.NetBSD.org/src/rev/a95f63627cae
branches:  trunk
changeset: 329107:a95f63627cae
user:      jakllsch <jakllsch%NetBSD.org@localhost>
date:      Wed May 07 14:00:48 2014 +0000

description:
Set the kernel load (physical) address as is already done for i386 kernels.

diffstat:

 sys/arch/amd64/conf/kern.ldscript |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r c21d7bb8f819 -r a95f63627cae sys/arch/amd64/conf/kern.ldscript
--- a/sys/arch/amd64/conf/kern.ldscript Tue May 06 20:39:37 2014 +0000
+++ b/sys/arch/amd64/conf/kern.ldscript Wed May 07 14:00:48 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kern.ldscript,v 1.5 2010/06/01 22:13:30 mjf Exp $      */
+/*     $NetBSD: kern.ldscript,v 1.6 2014/05/07 14:00:48 jakllsch Exp $ */
 
 OUTPUT_FORMAT("elf64-x86-64", "elf64-x86-64",
              "elf64-x86-64")
@@ -8,7 +8,7 @@
 {
    /* Read-only sections, merged into text segment: */
    .text :
-   AT (ADDR(.text))
+   AT (ADDR(.text) & 0x0fffffff)
    {
      *(.text)
      *(.text.*)



Home | Main Index | Thread Index | Old Index