summaryrefslogtreecommitdiffstats
path: root/arch/arm/lib
diff options
context:
space:
mode:
authorMarc Zyngier <marc.zyngier@arm.com>2014-07-12 14:24:02 +0100
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2014-07-28 17:07:23 +0200
commitbf433afd60ce2ccd1bec3cf14150323be8272ac3 (patch)
tree1dd1eb0cd86852ac01e6ca5b39978a1358c123b5 /arch/arm/lib
parentb726d22da9aed61462e36aa722fa4e6fd0aec9f1 (diff)
downloadtalos-obmc-uboot-bf433afd60ce2ccd1bec3cf14150323be8272ac3.tar.gz
talos-obmc-uboot-bf433afd60ce2ccd1bec3cf14150323be8272ac3.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> Acked-by: Ian Campbell <ijc@hellion.org.uk>
Diffstat (limited to 'arch/arm/lib')
-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")));
OpenPOWER on IntegriCloud