From 5dfd53a26521402a63f5eb339a7421288768f5db Mon Sep 17 00:00:00 2001 From: rtel Date: Tue, 30 May 2017 00:17:14 +0000 Subject: [PATCH] Update linker script so main stack starts on 8-byte alignment. git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2512 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- .../CORTEX_MPU_Simulator_Keil_GCC/GCC_Specific/startup_ARMCM4.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FreeRTOS/Demo/CORTEX_MPU_Simulator_Keil_GCC/GCC_Specific/startup_ARMCM4.S b/FreeRTOS/Demo/CORTEX_MPU_Simulator_Keil_GCC/GCC_Specific/startup_ARMCM4.S index fb2af495a..980b4287b 100644 --- a/FreeRTOS/Demo/CORTEX_MPU_Simulator_Keil_GCC/GCC_Specific/startup_ARMCM4.S +++ b/FreeRTOS/Demo/CORTEX_MPU_Simulator_Keil_GCC/GCC_Specific/startup_ARMCM4.S @@ -39,7 +39,7 @@ .align 4 .globl __isr_vector __isr_vector: - .long __SRAM_segment_end__ - 4 /* Top of Stack at top of RAM*/ + .long __SRAM_segment_end__ - 8 /* Top of Stack at top of RAM*/ .long Reset_Handler /* Reset Handler */ .long NMI_Handler /* NMI Handler */ .long HardFault_Handler /* Hard Fault Handler */ -- 2.39.5