X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=arch%2Favr32%2Fconfig.mk;h=a751a3d7874318917d83c1473ca5a6a8693f9909;hb=2ab575e05d715a1b9818b4a1f6a9d7ccb5bdb32a;hp=9488c49132832e02a6d9d80f539012be5755193b;hpb=8ae86b76c648d8bef97241c78e2fddb1c4f164d3;p=u-boot diff --git a/arch/avr32/config.mk b/arch/avr32/config.mk index 9488c49132..a751a3d787 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_LDFLAGS += --relax +PLATFORM_RELFLAGS += -ffunction-sections -fdata-sections + +LDFLAGS_u-boot = --gc-sections --relax