Module Name: src
Committed By: matt
Date: Wed Aug 27 03:35:32 UTC 2014
Modified Files:
src/sys/arch/arm/arm32: locore.S
Log Message:
Make the initial svcstack is doubleword aligned if EABI.
To generate a diff of this commit:
cvs rdiff -u -r1.36 -r1.37 src/sys/arch/arm/arm32/locore.S
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/arm/arm32/locore.S
diff -u src/sys/arch/arm/arm32/locore.S:1.36 src/sys/arch/arm/arm32/locore.S:1.37
--- src/sys/arch/arm/arm32/locore.S:1.36 Fri Apr 11 16:34:29 2014
+++ src/sys/arch/arm/arm32/locore.S Wed Aug 27 03:35:32 2014
@@ -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 @@ ASENTRY_NP(start)
ASEND(start)
.bss
+#ifdef __ARM_EABI__
+ .align 3
+#endif
svcstk:
.space INIT_ARM_STACK_SIZE