Module Name: src
Committed By: maxv
Date: Wed Oct 11 16:13:16 UTC 2017
Modified Files:
src/sys/arch/amd64/stand/prekern: prekern.ldscript
Log Message:
Add an alignment to fill strictly all of the padding; does not increase
the size of the prekern.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/amd64/stand/prekern/prekern.ldscript
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/amd64/stand/prekern/prekern.ldscript
diff -u src/sys/arch/amd64/stand/prekern/prekern.ldscript:1.1 src/sys/arch/amd64/stand/prekern/prekern.ldscript:1.2
--- src/sys/arch/amd64/stand/prekern/prekern.ldscript:1.1 Tue Oct 10 09:29:14 2017
+++ src/sys/arch/amd64/stand/prekern/prekern.ldscript Wed Oct 11 16:13:16 2017
@@ -1,4 +1,4 @@
-/* $NetBSD: prekern.ldscript,v 1.1 2017/10/10 09:29:14 maxv Exp $ */
+/* $NetBSD: prekern.ldscript,v 1.2 2017/10/11 16:13:16 maxv Exp $ */
__PAGE_SIZE = 0x1000 ;
@@ -10,6 +10,7 @@ SECTIONS
*(.text)
*(.text.*)
*(.stub)
+ . = ALIGN(__PAGE_SIZE);
} =0xCC
_etext = . ;
PROVIDE (etext = .) ;