asm: .eabi_attribute Tag_ABI_align_preserved, 1
Tell armlink that files has ensured proper stack alignment. Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
This commit is contained in:
parent
c9804d24fe
commit
da926f6855
2 changed files with 8 additions and 0 deletions
|
@ -22,6 +22,10 @@
|
|||
#include "vector_table.h"
|
||||
|
||||
_ASM_FILE_PROLOGUE
|
||||
/*
|
||||
* Tell armclang that stack alignment are ensured.
|
||||
*/
|
||||
.eabi_attribute Tag_ABI_align_preserved, 1
|
||||
|
||||
GDATA(z_main_stack)
|
||||
|
||||
|
|
|
@ -12,6 +12,10 @@
|
|||
* Wrapper installed in vector table for handling dynamic interrupts that accept
|
||||
* a parameter.
|
||||
*/
|
||||
/*
|
||||
* Tell armclang that stack alignment are ensured.
|
||||
*/
|
||||
.eabi_attribute Tag_ABI_align_preserved, 1
|
||||
|
||||
#include <toolchain.h>
|
||||
#include <linker/sections.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue