Module Name:    src
Committed By:   skrll
Date:           Mon Feb  8 21:08:03 UTC 2016

Modified Files:
        src/sys/arch/evbarm/conf: ldscript.evbarm

Log Message:
Preserve the .text section alignment


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/sys/arch/evbarm/conf/ldscript.evbarm

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/evbarm/conf/ldscript.evbarm
diff -u src/sys/arch/evbarm/conf/ldscript.evbarm:1.12 src/sys/arch/evbarm/conf/ldscript.evbarm:1.13
--- src/sys/arch/evbarm/conf/ldscript.evbarm:1.12	Sun Aug 23 08:57:25 2015
+++ src/sys/arch/evbarm/conf/ldscript.evbarm	Mon Feb  8 21:08:03 2016
@@ -1,4 +1,4 @@
-/*	$NetBSD: ldscript.evbarm,v 1.12 2015/08/23 08:57:25 uebayasi Exp $	*/
+/*	$NetBSD: ldscript.evbarm,v 1.13 2016/02/08 21:08:03 skrll Exp $	*/
 
 ENTRY(KERNEL_BASE_phys)
 SECTIONS
@@ -77,8 +77,8 @@ SECTIONS
     *(.start)
   } =0
 
-  .text (KERNEL_BASE_virt + SIZEOF(.start)) :
-  AT (LOADADDR(.start) + SIZEOF(.start))
+  .text (KERNEL_BASE_virt + ALIGN(SIZEOF(.start), ALIGNOF(.text))) :
+  AT (LOADADDR(.start) + ALIGN(SIZEOF(.start), ALIGNOF(.text)))
   {
     *(.text)
   } =0

Reply via email to