aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonio Nino Diaz <antonio.ninodiaz@arm.com>2018-06-29 14:58:04 +0100
committerAntonio Nino Diaz <antonio.ninodiaz@arm.com>2018-12-10 16:01:48 +0000
commit4762fefef13a0502d14c9eec7baa39a454080152 (patch)
tree273ca936ea778799ba41dc8183a4e9681c00fd15
parent1486f3b57799e4148f09d8c00708c8c248690c70 (diff)
downloadtf-a-tests-4762fefef13a0502d14c9eec7baa39a454080152.tar.gz
cactus: Fix base address in linkerscript
This helps debugging as the elf file contains the base address of the image so it doesn't have to be specified when loading the debug symbols. Change-Id: Ie9dcbce3d1b3d24ff587bd9daa1839b948e98f99 Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
-rw-r--r--spm/cactus/cactus.ld.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/spm/cactus/cactus.ld.S b/spm/cactus/cactus.ld.S
index 58553ace2..a3d8e65d0 100644
--- a/spm/cactus/cactus.ld.S
+++ b/spm/cactus/cactus.ld.S
@@ -14,6 +14,8 @@ ENTRY(cactus_entrypoint)
SECTIONS
{
+ . = CACTUS_IMAGE_BASE;
+
ASSERT(. == ALIGN(PAGE_SIZE),
"TEXT_START address is not aligned to PAGE_SIZE.")