aboutsummaryrefslogtreecommitdiff
path: root/core/arch/arm32/tee
diff options
context:
space:
mode:
authorJens Wiklander <jens.wiklander@linaro.org>2014-12-02 10:57:09 +0100
committerJens Wiklander <jens.wiklander@linaro.org>2014-12-12 10:03:05 +0100
commit820f30dbf0bb6013e6f61061b91c3a5c5a987741 (patch)
tree6812f98f738dd0383a92c0acbda930caed447c46 /core/arch/arm32/tee
parentf69755b7e7795c4de11ca50530479dbe24224f10 (diff)
arm32: assembly routines in separate sections
Moves some assembly routines into separate sections. This helps the garbage collecting with the linker when separating what's must be unpaged from the rest of the code. The garbage collector in the linker works on dependencies between sections. Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: Pascal Brand <pascal.brand@linaro.org>
Diffstat (limited to 'core/arch/arm32/tee')
-rw-r--r--core/arch/arm32/tee/arch_svc_asm.S4
1 files changed, 1 insertions, 3 deletions
diff --git a/core/arch/arm32/tee/arch_svc_asm.S b/core/arch/arm32/tee/arch_svc_asm.S
index 3a81129..784f954 100644
--- a/core/arch/arm32/tee/arch_svc_asm.S
+++ b/core/arch/arm32/tee/arch_svc_asm.S
@@ -31,9 +31,7 @@
#include <tee_api_defines.h>
#include <kernel/thread.h>
-.section .text
-.balign 4
-.code 32
+ .section .text.arch_svc_asm
/*
* Below are low level routines handling entry and return from user mode.