summaryrefslogtreecommitdiffstats
path: root/bsps/powerpc/ss555/config/ss555.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'bsps/powerpc/ss555/config/ss555.cfg')
-rw-r--r--bsps/powerpc/ss555/config/ss555.cfg5
1 files changed, 2 insertions, 3 deletions
diff --git a/bsps/powerpc/ss555/config/ss555.cfg b/bsps/powerpc/ss555/config/ss555.cfg
index 7054eaaea1..f4c6ca22a7 100644
--- a/bsps/powerpc/ss555/config/ss555.cfg
+++ b/bsps/powerpc/ss555/config/ss555.cfg
@@ -19,10 +19,9 @@ CPU_CFLAGS = -mcpu=505
# optimize flag: typically -O2
CFLAGS_OPTIMIZE_V = -O2 -g -fno-keep-inline-functions
-# FIXME: Disabled because linkcmds lacks proper KEEP() directives. See #2563.
# 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)