summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel@rtems.org>2016-02-06 10:06:06 -0600
committerJoel Sherrill <joel@rtems.org>2016-02-06 10:12:14 -0600
commit96cfad6d6f4efc14ec63a32026d2e4a36dac5f43 (patch)
tree39a5d4bc2f0bad6302566a0750380c7434c0aea5
parentm68k/.../gen68340.cfg: Disable per function sections (diff)
downloadrtems-96cfad6d6f4efc14ec63a32026d2e4a36dac5f43.tar.bz2
m68k/.../av5282.cfg: Disable per function sections
updates #2574.
-rw-r--r--c/src/lib/libbsp/m68k/av5282/make/custom/av5282.cfg6
1 files changed, 4 insertions, 2 deletions
diff --git a/c/src/lib/libbsp/m68k/av5282/make/custom/av5282.cfg b/c/src/lib/libbsp/m68k/av5282/make/custom/av5282.cfg
index 1266401a5b..ee40bf08ed 100644
--- a/c/src/lib/libbsp/m68k/av5282/make/custom/av5282.cfg
+++ b/c/src/lib/libbsp/m68k/av5282/make/custom/av5282.cfg
@@ -14,9 +14,11 @@ CPU_CFLAGS = -mcpu=528x
# 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 #2574.
+# 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