summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel@rtems.org>2016-02-06 09:35:21 -0600
committerJoel Sherrill <joel@rtems.org>2016-02-06 09:39:51 -0600
commit068b31253e9027a7429f4d19dfb200ad8a96d197 (patch)
treebf074eb16bc002edf70cf4e28f1f0f385ffe393d
parentpowerpc/.../qemuppc.cfg: Disable per function sections (diff)
downloadrtems-068b31253e9027a7429f4d19dfb200ad8a96d197.tar.bz2
powerpc/.../mpc8260ads.cfg: Disable per function sections
updates #2565.
-rw-r--r--c/src/lib/libbsp/powerpc/mpc8260ads/make/custom/mpc8260ads.cfg6
1 files changed, 4 insertions, 2 deletions
diff --git a/c/src/lib/libbsp/powerpc/mpc8260ads/make/custom/mpc8260ads.cfg b/c/src/lib/libbsp/powerpc/mpc8260ads/make/custom/mpc8260ads.cfg
index 71454b2a06..0379c3b82e 100644
--- a/c/src/lib/libbsp/powerpc/mpc8260ads/make/custom/mpc8260ads.cfg
+++ b/c/src/lib/libbsp/powerpc/mpc8260ads/make/custom/mpc8260ads.cfg
@@ -17,6 +17,8 @@ CPU_CFLAGS = -mcpu=603e -mstrict-align -Dmpc8260 \
# optimize flag: typically -O2
CFLAGS_OPTIMIZE_V = -O2 -g -fno-keep-inline-functions
-CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
-LDFLAGS = -Wl,--gc-sections
+# 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