summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel@rtems.org>2016-02-06 08:53:30 -0600
committerJoel Sherrill <joel@rtems.org>2016-02-06 08:53:39 -0600
commit8926fadfc095517405e2d93fdf113c244cb41970 (patch)
treee7669686facf963657236d36cbdeb14cb70be988
parentpowerpc/.../ss555.cfg: Disable per function sections. (diff)
downloadrtems-8926fadfc095517405e2d93fdf113c244cb41970.tar.bz2
powerpc/.../qemuppc.cfg: Disable per function sections
updates #2564.
-rw-r--r--c/src/lib/libbsp/powerpc/qemuppc/make/custom/qemuppc.cfg6
1 files changed, 4 insertions, 2 deletions
diff --git a/c/src/lib/libbsp/powerpc/qemuppc/make/custom/qemuppc.cfg b/c/src/lib/libbsp/powerpc/qemuppc/make/custom/qemuppc.cfg
index 81d49f97dc..41c0e8de76 100644
--- a/c/src/lib/libbsp/powerpc/qemuppc/make/custom/qemuppc.cfg
+++ b/c/src/lib/libbsp/powerpc/qemuppc/make/custom/qemuppc.cfg
@@ -13,9 +13,11 @@ CPU_CFLAGS = -mcpu=603e -Dppc603e
# 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
define bsp-post-link
$(default-bsp-post-link)