Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/i386/conf Restore alignement of _end to rev 1.12: t...



details:   https://anonhg.NetBSD.org/src/rev/ca8fa8c3a267
branches:  trunk
changeset: 354696:ca8fa8c3a267
user:      bouyer <bouyer%NetBSD.org@localhost>
date:      Sun Jun 25 20:22:32 2017 +0000

description:
Restore alignement of _end to rev 1.12: this is where the Xen loader
puts the symbol table and should not be changed (maybe we should change
this symbol name).
keep kernel_end PAGE-aligned.
Makes ddb work again on Xen/i386

diffstat:

 sys/arch/i386/conf/kern.ldscript.Xen |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 5ef60224988d -r ca8fa8c3a267 sys/arch/i386/conf/kern.ldscript.Xen
--- a/sys/arch/i386/conf/kern.ldscript.Xen      Sun Jun 25 16:07:48 2017 +0000
+++ b/sys/arch/i386/conf/kern.ldscript.Xen      Sun Jun 25 20:22:32 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kern.ldscript.Xen,v 1.13 2016/08/02 14:03:34 maxv Exp $        */
+/*     $NetBSD: kern.ldscript.Xen,v 1.14 2017/06/25 20:22:32 bouyer Exp $      */
 
 #include "assym.h"
 
@@ -54,14 +54,15 @@
                *(COMMON)
                . = ALIGN(32 / 8);
        }
+       . = ALIGN(32 / 8);
+       _end = . ;
+       PROVIDE (end = .) ;
 
        . = ALIGN(__PAGE_SIZE);
 
        /* End of the kernel image */
        __kernel_end = . ;
 
-       _end = . ;
-       PROVIDE (end = .) ;
        .note.netbsd.ident :
        {
                KEEP(*(.note.netbsd.ident));



Home | Main Index | Thread Index | Old Index