summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/m68k/uC5282/make/custom/uC5282.cfg
diff options
context:
space:
mode:
authorJoel Sherrill <joel@rtems.org>2016-02-06 10:22:12 -0600
committerJoel Sherrill <joel@rtems.org>2016-02-06 10:22:17 -0600
commit8755f2a3d072c442962aed8df330bd9a18bae204 (patch)
treeeeae4df7974f6d8f74a9c65f2a76c51c6fdf348e /c/src/lib/libbsp/m68k/uC5282/make/custom/uC5282.cfg
parentpowerpc/.../ss555.cfg: Correct ticket number in comment (diff)
downloadrtems-8755f2a3d072c442962aed8df330bd9a18bae204.tar.bz2
m68k/.../uC5282.cfg: Disable per function sections
updates #2575.
Diffstat (limited to 'c/src/lib/libbsp/m68k/uC5282/make/custom/uC5282.cfg')
-rw-r--r--c/src/lib/libbsp/m68k/uC5282/make/custom/uC5282.cfg6
1 files changed, 4 insertions, 2 deletions
diff --git a/c/src/lib/libbsp/m68k/uC5282/make/custom/uC5282.cfg b/c/src/lib/libbsp/m68k/uC5282/make/custom/uC5282.cfg
index c94e236f83..d2982344e0 100644
--- a/c/src/lib/libbsp/m68k/uC5282/make/custom/uC5282.cfg
+++ b/c/src/lib/libbsp/m68k/uC5282/make/custom/uC5282.cfg
@@ -13,9 +13,11 @@ CPU_CFLAGS = -mcpu=5282
# optimize flag: typically -O2
CFLAGS_OPTIMIZE_V = -O2 -g
-CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
-LDFLAGS = -Wl,--gc-sections
+# FIXME: Disabled because linkcmds lacks proper KEEP() directives. See #2575.
+# 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)