diff options
author | Jun Nie <jun.nie@linaro.org> | 2018-08-21 15:29:34 +0800 |
---|---|---|
committer | Jun Nie <jun.nie@linaro.org> | 2018-08-24 00:22:51 +0800 |
commit | 419b79b7423277fadb1bc17d963648a2b4a6c732 (patch) | |
tree | f0d211bc2461a465d87912b8d616426fa6a35273 /framework | |
parent | d9f545d481a2572e021ba3b1166418a1571e4d11 (diff) |
Aarch32: Add IRQ stack for ARMv7
Add stack for IRQ mode for ARMv7. Otherwise, stack operation in
IRQ mode result data abort due to data access to random address.
Signed-off-by: Jun Nie <jun.nie@linaro.org>
Diffstat (limited to 'framework')
-rw-r--r-- | framework/tftf.ld.S | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/framework/tftf.ld.S b/framework/tftf.ld.S index cf97e83..73f4e2f 100644 --- a/framework/tftf.ld.S +++ b/framework/tftf.ld.S @@ -72,6 +72,12 @@ SECTIONS __STACKS_END__ = .; } >RAM + stacks (NOLOAD) : { + __IRQ_STACKS_START__ = .; + *(irq_stacks) + __IRQ_STACKS_END__ = .; + } >RAM + /* * The .bss section gets initialised to 0 at runtime. * Its base address must be 16-byte aligned. |