From 47e0214d2c4365b3ea236ee72405bc7336a37c9e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20P=C3=A9gouri=C3=A9-Gonnard?= Date: Wed, 18 Mar 2015 16:52:20 +0000 Subject: [PATCH] Add -fdata-sections in memory.sh too --- scripts/memory.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/memory.sh b/scripts/memory.sh index eefe1025d..4b02a722a 100755 --- a/scripts/memory.sh +++ b/scripts/memory.sh @@ -12,7 +12,7 @@ CONFIG_H='include/polarssl/config.h' CLIENT='mini_client' -CFLAGS_EXEC='-fno-asynchronous-unwind-tables -Wl,--gc-section -ffunction-sections' +CFLAGS_EXEC='-fno-asynchronous-unwind-tables -Wl,--gc-section -ffunction-sections -fdata-sections' CFLAGS_MEM=-g3 if [ -r $CONFIG_H ]; then :; else