Module Name: src Committed By: bouyer Date: Sun Jun 25 20:22:32 UTC 2017
Modified Files: src/sys/arch/i386/conf: kern.ldscript.Xen Log Message: 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 To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/sys/arch/i386/conf/kern.ldscript.Xen Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/i386/conf/kern.ldscript.Xen diff -u src/sys/arch/i386/conf/kern.ldscript.Xen:1.13 src/sys/arch/i386/conf/kern.ldscript.Xen:1.14 --- src/sys/arch/i386/conf/kern.ldscript.Xen:1.13 Tue Aug 2 14:03:34 2016 +++ src/sys/arch/i386/conf/kern.ldscript.Xen Sun Jun 25 20:22:32 2017 @@ -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 @@ SECTIONS *(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));