[rtems commit] bsps/arm: Move abort stack

Sebastian Huber sebh at rtems.org
Mon Oct 13 14:08:40 UTC 2014


Module:    rtems
Branch:    master
Commit:    2faaf4bd09176efd1be0e635cfcb9222fc80b27a
Changeset: http://git.rtems.org/rtems/commit/?id=2faaf4bd09176efd1be0e635cfcb9222fc80b27a

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Mon Oct 13 16:11:02 2014 +0200

bsps/arm: Move abort stack

Move abort stack above the other exception stacks to use them just in
case.

---

 c/src/lib/libbsp/arm/shared/startup/linkcmds.base |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/c/src/lib/libbsp/arm/shared/startup/linkcmds.base b/c/src/lib/libbsp/arm/shared/startup/linkcmds.base
index 04f3308..11e0175 100644
--- a/c/src/lib/libbsp/arm/shared/startup/linkcmds.base
+++ b/c/src/lib/libbsp/arm/shared/startup/linkcmds.base
@@ -296,10 +296,6 @@ SECTIONS {
 
 		. = ALIGN (bsp_stack_align);
 
-		bsp_stack_abt_begin = .;
-		. = . + bsp_stack_abt_size;
-		bsp_stack_abt_end = .;
-
 		bsp_stack_fiq_begin = .;
 		. = . + bsp_stack_fiq_size;
 		bsp_stack_fiq_end = .;
@@ -316,6 +312,10 @@ SECTIONS {
 		. = . + bsp_stack_und_size;
 		bsp_stack_und_end = .;
 
+		bsp_stack_abt_begin = .;
+		. = . + bsp_stack_abt_size;
+		bsp_stack_abt_end = .;
+
 		bsp_stack_main_begin = .;
 		. = . + bsp_stack_main_size;
 		bsp_stack_main_end = .;



More information about the vc mailing list