diff --git a/scripts/memory.sh b/scripts/memory.sh index eefe1025d4..4b02a722a4 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