summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel@rtems.org>2016-02-06 10:00:53 -0600
committerJoel Sherrill <joel@rtems.org>2016-02-06 10:10:58 -0600
commit1c3dd579f19912c961b7f0d90920975af6342016 (patch)
tree8e445e8dd6a43a40a7ca373cd9e4a103cbfdaea2
parentm68k/.../mcf5235.cfg: Disable per function sections (diff)
downloadrtems-1c3dd579f19912c961b7f0d90920975af6342016.tar.bz2
m68k/.../mcf5206elite.cfg: Disable per function sections
updates #2572.
-rw-r--r--c/src/lib/libbsp/m68k/mcf5206elite/make/custom/mcf5206elite.cfg6
1 files changed, 4 insertions, 2 deletions
diff --git a/c/src/lib/libbsp/m68k/mcf5206elite/make/custom/mcf5206elite.cfg b/c/src/lib/libbsp/m68k/mcf5206elite/make/custom/mcf5206elite.cfg
index b150e0404e..73bf0d7828 100644
--- a/c/src/lib/libbsp/m68k/mcf5206elite/make/custom/mcf5206elite.cfg
+++ b/c/src/lib/libbsp/m68k/mcf5206elite/make/custom/mcf5206elite.cfg
@@ -15,6 +15,8 @@ CPU_CFLAGS = -mcpu=5206
# optimize flag: typically -O2
CFLAGS_OPTIMIZE_V = -O2 -g -fomit-frame-pointer
-CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
-LDFLAGS = -Wl,--gc-sections
+# FIXME: Disabled because linkcmds lacks proper KEEP() directives. See #2572.
+# The following two lines enable compiling and linking on per element.
+# CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
+# LDFLAGS = -Wl,--gc-sections