summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel@rtems.org>2016-02-06 09:51:48 -0600
committerJoel Sherrill <joel@rtems.org>2016-02-06 09:51:54 -0600
commitea791d52bd787737cf42bc216054ad4f9b0a8f0b (patch)
tree4f8c3466258346ab882e43648d5ddbcc4822a53d
parentm68k/.../mcf5225x.cfg: Disable per function sections (diff)
downloadrtems-ea791d52bd787737cf42bc216054ad4f9b0a8f0b.tar.bz2
m68k/.../mcf5329.cfg: Disable per function sections
updates #2569.
-rw-r--r--c/src/lib/libbsp/m68k/mcf5329/make/custom/mcf5329.cfg6
1 files changed, 4 insertions, 2 deletions
diff --git a/c/src/lib/libbsp/m68k/mcf5329/make/custom/mcf5329.cfg b/c/src/lib/libbsp/m68k/mcf5329/make/custom/mcf5329.cfg
index f742152a96..d9ea3d683d 100644
--- a/c/src/lib/libbsp/m68k/mcf5329/make/custom/mcf5329.cfg
+++ b/c/src/lib/libbsp/m68k/mcf5329/make/custom/mcf5329.cfg
@@ -15,9 +15,11 @@ CPU_CFLAGS = -mcpu=5307
# 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 #2561.
+# The following two lines enable compiling and linking on per element.
+# CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
+# LDFLAGS = -Wl,--gc-sections
# This defines the operations performed on the linked executable.
# is currently required.