Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/evbarm/conf Preserve the .text section alignment



details:   https://anonhg.NetBSD.org/src/rev/c9023ed582d1
branches:  trunk
changeset: 813648:c9023ed582d1
user:      skrll <skrll%NetBSD.org@localhost>
date:      Mon Feb 08 21:08:03 2016 +0000

description:
Preserve the .text section alignment

diffstat:

 sys/arch/evbarm/conf/ldscript.evbarm |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r 6442b573598e -r c9023ed582d1 sys/arch/evbarm/conf/ldscript.evbarm
--- a/sys/arch/evbarm/conf/ldscript.evbarm      Mon Feb 08 18:18:19 2016 +0000
+++ b/sys/arch/evbarm/conf/ldscript.evbarm      Mon Feb 08 21:08:03 2016 +0000
@@ -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 @@
     *(.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



Home | Main Index | Thread Index | Old Index