summaryrefslogtreecommitdiff
path: root/arch/avr32/config.mk
diff options
context:
space:
mode:
authorAndreas Bießmann <biessmann@corscience.de>2011-02-09 04:10:30 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2011-05-18 07:56:52 +0200
commitc8e7ddd4c6d0e195fa2f28c534f5c8233547c59e (patch)
treef265b4fcdf59803bb542670a565b9105eee4154e /arch/avr32/config.mk
parent74cd9777f8dd44fd944a9ac75cfbc24eeb206453 (diff)
downloadu-boot-imx-c8e7ddd4c6d0e195fa2f28c534f5c8233547c59e.zip
u-boot-imx-c8e7ddd4c6d0e195fa2f28c534f5c8233547c59e.tar.gz
u-boot-imx-c8e7ddd4c6d0e195fa2f28c534f5c8233547c59e.tar.bz2
avr32: fix linking
This patch fixes following error: ---8<--- avr32-linux-ld: --gc-sections and -r may not be used together --->8--- Since 8aba9dceebb14144e07d19593111ee3a999c37fc all avr32 boards are broken due to linking error as seen above. Signed-off-by: Andreas Bießmann <biessmann@corscience.de>
Diffstat (limited to 'arch/avr32/config.mk')
-rw-r--r--arch/avr32/config.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/avr32/config.mk b/arch/avr32/config.mk
index 9488c49..ef14710 100644
--- a/arch/avr32/config.mk
+++ b/arch/avr32/config.mk
@@ -26,4 +26,4 @@ CROSS_COMPILE ?= avr32-linux-
CONFIG_STANDALONE_LOAD_ADDR ?= 0x00000000
PLATFORM_RELFLAGS += -ffixed-r5 -fPIC -mno-init-got -mrelax
-PLATFORM_LDFLAGS += --relax
+LDFLAGS_u-boot = --gc-sections --relax