diff options
author | Jens Wiklander <jens.wiklander@linaro.org> | 2014-12-02 10:58:06 +0100 |
---|---|---|
committer | Jens Wiklander <jens.wiklander@linaro.org> | 2014-12-12 10:03:05 +0100 |
commit | 6a8df3c8f35955c0bc836d6cb58d425e7646c66e (patch) | |
tree | 65284f2dee7064f731c41ac3013b5f9737978067 /core/arch/arm32 | |
parent | 820f30dbf0bb6013e6f61061b91c3a5c5a987741 (diff) |
plat-vexpress: separate sections
Puts functions and data into separate sections
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
Tested-by: Jens Wiklander <jens.wiklander@linaro.org> (QEMU virt and FVP)
Reviewed-by: Pascal Brand <pascal.brand@linaro.org>
Diffstat (limited to 'core/arch/arm32')
-rw-r--r-- | core/arch/arm32/plat-vexpress/conf.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/arch/arm32/plat-vexpress/conf.mk b/core/arch/arm32/plat-vexpress/conf.mk index 27b6561..a2cbc45 100644 --- a/core/arch/arm32/plat-vexpress/conf.mk +++ b/core/arch/arm32/plat-vexpress/conf.mk @@ -17,6 +17,8 @@ core-platform-cppflags += -DNUM_THREADS=2 core-platform-cppflags += -DWITH_STACK_CANARIES=1 user_ta-platform-cflags = -fpie +platform-cflags += -ffunction-sections -fdata-sections + DEBUG ?= 1 ifeq ($(DEBUG),1) platform-cflags += -O0 |