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/905569449e10
branches:  trunk
changeset: 795868:905569449e10
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 dedb319d95e3 -r 905569449e10 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