Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/conf Make sure _edata is aligned to a 8-byte bo...



details:   https://anonhg.NetBSD.org/src/rev/37aafb0422b1
branches:  trunk
changeset: 325432:37aafb0422b1
user:      matt <matt%NetBSD.org@localhost>
date:      Tue Dec 24 17:03:07 2013 +0000

description:
Make sure _edata is aligned to a 8-byte boundary.

diffstat:

 sys/arch/arm/conf/kern.ldscript.tail |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 2387d273210d -r 37aafb0422b1 sys/arch/arm/conf/kern.ldscript.tail
--- a/sys/arch/arm/conf/kern.ldscript.tail      Tue Dec 24 17:00:39 2013 +0000
+++ b/sys/arch/arm/conf/kern.ldscript.tail      Tue Dec 24 17:03:07 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kern.ldscript.tail,v 1.2 2005/12/11 12:16:45 christos Exp $    */
+/*     $NetBSD: kern.ldscript.tail,v 1.3 2013/12/24 17:03:07 matt Exp $        */
 
   } =0
   PROVIDE (__etext = .);
@@ -13,6 +13,7 @@
     *(.sdata)
     *(.sdata.*)
   }
+  . = ALIGN(8);
   _edata = .;
   PROVIDE (edata = .);
   __bss_start = .;



Home | Main Index | Thread Index | Old Index