diff options
author | Tom Rini <trini@ti.com> | 2013-04-25 07:40:22 +0000 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2013-05-23 12:09:56 +0200 |
commit | fd725691797bb3192af15a15c2cba7d0b2ee9327 (patch) | |
tree | 5f433a275d6bb4261cf440ce76a226fdcef6d48f /arch/arm/cpu/ixp | |
parent | 0ad6c34c3ed7d8e0595f8647dd7175eff18a8474 (diff) | |
download | u-boot-imx-fd725691797bb3192af15a15c2cba7d0b2ee9327.zip u-boot-imx-fd725691797bb3192af15a15c2cba7d0b2ee9327.tar.gz u-boot-imx-fd725691797bb3192af15a15c2cba7d0b2ee9327.tar.bz2 |
arm: Enable -ffunction-sections / -fdata-sections / --gc-sections
While other architectures have enabled these gcc / ld options for some
time on U-Boot itself, ARM has only been doing this on SPL. Enable this
on full U-Boot as well now.
Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
Signed-off-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'arch/arm/cpu/ixp')
-rw-r--r-- | arch/arm/cpu/ixp/config.mk | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/arm/cpu/ixp/config.mk b/arch/arm/cpu/ixp/config.mk index b02e8af..fd3c29f 100644 --- a/arch/arm/cpu/ixp/config.mk +++ b/arch/arm/cpu/ixp/config.mk @@ -31,10 +31,6 @@ PLATFORM_CPPFLAGS += -mbig-endian -march=armv5te -mtune=strongarm1100 PLATFORM_LDFLAGS += -EB USE_PRIVATE_LIBGCC = yes -# -fdata-sections triggers "section .bss overlaps section .rel.dyn" linker error -PLATFORM_RELFLAGS += -ffunction-sections -LDFLAGS_u-boot += --gc-sections - # ========================================================================= # # Supply options according to compiler version |