summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/avr32/config.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/avr32/config.mk b/arch/avr32/config.mk
index ef14710..a751a3d 100644
--- a/arch/avr32/config.mk
+++ b/arch/avr32/config.mk
@@ -26,4 +26,6 @@ CROSS_COMPILE ?= avr32-linux-
CONFIG_STANDALONE_LOAD_ADDR ?= 0x00000000
PLATFORM_RELFLAGS += -ffixed-r5 -fPIC -mno-init-got -mrelax
+PLATFORM_RELFLAGS += -ffunction-sections -fdata-sections
+
LDFLAGS_u-boot = --gc-sections --relax