arm: Enable -ffunction-sections / -fdata-sections / --gc-sections
authorTom Rini <trini@ti.com>
Thu, 25 Apr 2013 07:40:22 +0000 (07:40 +0000)
committernotaz <notasas@gmail.com>
Sat, 2 Jul 2016 21:27:08 +0000 (00:27 +0300)
commitcbe31ae3c538d9ce9a9710b11e108f2681f4e87e
tree3177482be387043d9ac16c8769cff41af55b45bf
parent7cc4f41796f696233040c99c752e7f08ccec33f9
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>
arch/arm/config.mk