From 0ce6bf3ff5f2da5e4fe7fa6434d7b4c2a9562929 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Fri, 16 Nov 2018 06:39:49 +0100 Subject: bsps/epiphany: Use interrupt stack for init stack Update #3459. --- bsps/epiphany/epiphany_sim/start/start.S | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bsps') diff --git a/bsps/epiphany/epiphany_sim/start/start.S b/bsps/epiphany/epiphany_sim/start/start.S index 7f828ae151..c79d23dc86 100644 --- a/bsps/epiphany/epiphany_sim/start/start.S +++ b/bsps/epiphany/epiphany_sim/start/start.S @@ -32,7 +32,7 @@ EXTERN(_ISR_Handler) EXTERN(bsp_start_vector_table_end) EXTERN(bsp_start_vector_table_size) EXTERN(bsp_vector_table_size) -EXTERN(bsp_section_stack_begin) +EXTERN(_ISR_Stack_area_end) PUBLIC(_EPIPHANY_Exception_default) PUBLIC(bsp_start_vector_table_begin) @@ -92,8 +92,8 @@ _bsp_start_vector_table_end: .type _external_start, %function .normal_start: /* Initialize the stack and frame pointers */ - mov sp, %low(bsp_section_stack_begin) - movt sp, %high(bsp_section_stack_begin) + mov sp, %low(_ISR_Stack_area_end) + movt sp, %high(_ISR_Stack_area_end) mov fp, sp cpu0: -- cgit v1.2.3