summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorJun Nie <jun.nie@linaro.org>2018-08-24 10:27:38 +0800
committerJun Nie <jun.nie@linaro.org>2018-08-24 10:27:38 +0800
commit146b7c4513eef98b612d71124c760995782022df (patch)
tree88a277afd3761ef1add5548791aa3e514009228c /framework
parentb9c9a6f5c3325905f31de11647ce111e607e3481 (diff)
Aarch32: add arch version flag in makefile
add arch version flag in makefile so that this build flag can be detected when building code. Signed-off-by: Jun Nie <jun.nie@linaro.org>
Diffstat (limited to 'framework')
-rw-r--r--framework/tftf.ld.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/framework/tftf.ld.S b/framework/tftf.ld.S
index 73f4e2f..58f4d28 100644
--- a/framework/tftf.ld.S
+++ b/framework/tftf.ld.S
@@ -72,11 +72,13 @@ SECTIONS
__STACKS_END__ = .;
} >RAM
+#if ARM_ARCH_MAJOR == 7
stacks (NOLOAD) : {
__IRQ_STACKS_START__ = .;
*(irq_stacks)
__IRQ_STACKS_END__ = .;
} >RAM
+#endif
/*
* The .bss section gets initialised to 0 at runtime.