summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel@rtems.org>2016-02-06 09:58:55 -0600
committerJoel Sherrill <joel@rtems.org>2016-02-06 10:09:45 -0600
commit6a1cbb749cd458efebed13da3d93e34739cc814e (patch)
treeb411feff86a2a4edcf501e45c520e5824517c9bf
parentm68k/.../mcf52235.cfg: Disable per function sections (diff)
downloadrtems-6a1cbb749cd458efebed13da3d93e34739cc814e.tar.bz2
m68k/.../mcf5235.cfg: Disable per function sections
updates #2571.
-rw-r--r--c/src/lib/libbsp/m68k/mcf5235/make/custom/mcf5235.cfg6
1 files changed, 4 insertions, 2 deletions
diff --git a/c/src/lib/libbsp/m68k/mcf5235/make/custom/mcf5235.cfg b/c/src/lib/libbsp/m68k/mcf5235/make/custom/mcf5235.cfg
index f3a0861584..387aa4ea43 100644
--- a/c/src/lib/libbsp/m68k/mcf5235/make/custom/mcf5235.cfg
+++ b/c/src/lib/libbsp/m68k/mcf5235/make/custom/mcf5235.cfg
@@ -13,9 +13,11 @@ CPU_CFLAGS = -mcpu=5235
# 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 #2571.
+# The following two lines enable compiling and linking on per element.
+# CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
+# LDFLAGS = -Wl,--gc-sections
ifndef MTARGET
MTARGET=ram