summaryrefslogtreecommitdiffstats
path: root/arch/arm/lib/sections.c
diff options
context:
space:
mode:
authorMarc Zyngier <marc.zyngier@arm.com>2014-04-26 13:17:06 +0100
committerDennis Gilmore <dennis@ausil.us>2014-04-26 09:19:25 -0500
commit4c35371fe7e2ed9e057cd3eb9380380099d0ea19 (patch)
tree5bdad7418142afcd828f15a83c71ba175d7caf60 /arch/arm/lib/sections.c
parenteed1c957b6294e0205cc8521516c51dce7bb72c1 (diff)
downloadu-boot-4c35371fe7e2ed9e057cd3eb9380380099d0ea19.tar.gz
u-boot-4c35371fe7e2ed9e057cd3eb9380380099d0ea19.tar.xz
u-boot-4c35371fe7e2ed9e057cd3eb9380380099d0ea19.zip
ARM: HYP/non-sec: add separate section for secure code
In anticipation of refactoring the HYP/non-secure code to run from secure RAM, add a new linker section that will contain that code. Nothing is using it just yet. Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'arch/arm/lib/sections.c')
-rw-r--r--arch/arm/lib/sections.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/lib/sections.c b/arch/arm/lib/sections.c
index 5b30bcb9a5..a1205c370d 100644
--- a/arch/arm/lib/sections.c
+++ b/arch/arm/lib/sections.c
@@ -25,4 +25,6 @@ char __image_copy_start[0] __attribute__((section(".__image_copy_start")));
char __image_copy_end[0] __attribute__((section(".__image_copy_end")));
char __rel_dyn_start[0] __attribute__((section(".__rel_dyn_start")));
char __rel_dyn_end[0] __attribute__((section(".__rel_dyn_end")));
+char __secure_start[0] __attribute__((section(".__secure_start")));
+char __secure_end[0] __attribute__((section(".__secure_end")));
char _end[0] __attribute__((section(".__end")));