summaryrefslogtreecommitdiffstats
path: root/bsps/powerpc/haleakala/config/haleakala.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'bsps/powerpc/haleakala/config/haleakala.cfg')
-rw-r--r--bsps/powerpc/haleakala/config/haleakala.cfg5
1 files changed, 2 insertions, 3 deletions
diff --git a/bsps/powerpc/haleakala/config/haleakala.cfg b/bsps/powerpc/haleakala/config/haleakala.cfg
index 148c699703..57feb35781 100644
--- a/bsps/powerpc/haleakala/config/haleakala.cfg
+++ b/bsps/powerpc/haleakala/config/haleakala.cfg
@@ -17,10 +17,9 @@ CPU_CFLAGS = -mcpu=405
# NOTE: some level of -O may be actually required by inline assembler
CFLAGS_OPTIMIZE_V = -O1 -g
-# FIXME: Disabled because linkcmds lacks proper KEEP() directives. See #2561.
# The following two lines enable compiling and linking on per element.
-# CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
-# LDFLAGS = -Wl,--gc-sections
+CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
+LDFLAGS = -Wl,--gc-sections
define bsp-post-link
$(default-bsp-post-link)