Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/arm32 Make the initial svcstack is doubleword a...



details:   https://anonhg.NetBSD.org/src/rev/a8bacf0e6e03
branches:  trunk
changeset: 801996:a8bacf0e6e03
user:      matt <matt%NetBSD.org@localhost>
date:      Wed Aug 27 03:35:32 2014 +0000

description:
Make the initial svcstack is doubleword aligned if EABI.

diffstat:

 sys/arch/arm/arm32/locore.S |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (28 lines):

diff -r 47fe01e9c707 -r a8bacf0e6e03 sys/arch/arm/arm32/locore.S
--- a/sys/arch/arm/arm32/locore.S       Wed Aug 27 03:17:21 2014 +0000
+++ b/sys/arch/arm/arm32/locore.S       Wed Aug 27 03:35:32 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: locore.S,v 1.36 2014/04/11 16:34:29 matt Exp $ */
+/*     $NetBSD: locore.S,v 1.37 2014/08/27 03:35:32 matt Exp $ */
 
 /*
  * Copyright (C) 1994-1997 Mark Brinicombe
@@ -40,7 +40,7 @@
 /* What size should this really be ? It is only used by init_arm() */
 #define INIT_ARM_STACK_SIZE    2048
 
-       RCSID("$NetBSD: locore.S,v 1.36 2014/04/11 16:34:29 matt Exp $")
+       RCSID("$NetBSD: locore.S,v 1.37 2014/08/27 03:35:32 matt Exp $")
 
 /*
  * This is for kvm_mkdb, and should be the address of the beginning
@@ -115,6 +115,9 @@
 ASEND(start)
 
        .bss
+#ifdef __ARM_EABI__
+       .align  3
+#endif
 svcstk:
        .space  INIT_ARM_STACK_SIZE
 



Home | Main Index | Thread Index | Old Index