summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/m68k/gen68360/make/custom/pgh360.cfg
diff options
context:
space:
mode:
authorJoel Sherrill <joel@rtems.org>2016-02-06 09:40:58 -0600
committerJoel Sherrill <joel@rtems.org>2016-02-06 09:41:04 -0600
commit6184b572d3c95d2d78bf8b856d8604cbcb37818a (patch)
tree7c06da76c0cc71bf2e9a8d48934e9625f6fd604c /c/src/lib/libbsp/m68k/gen68360/make/custom/pgh360.cfg
parentpowerpc/.../mpc8260ads.cfg: Disable per function sections (diff)
downloadrtems-6184b572d3c95d2d78bf8b856d8604cbcb37818a.tar.bz2
m68k/gen68360/.../*.cfg: Disable per function sections
updates #2566.
Diffstat (limited to '')
-rw-r--r--c/src/lib/libbsp/m68k/gen68360/make/custom/pgh360.cfg6
1 files changed, 4 insertions, 2 deletions
diff --git a/c/src/lib/libbsp/m68k/gen68360/make/custom/pgh360.cfg b/c/src/lib/libbsp/m68k/gen68360/make/custom/pgh360.cfg
index a9f7508314..1ee256012a 100644
--- a/c/src/lib/libbsp/m68k/gen68360/make/custom/pgh360.cfg
+++ b/c/src/lib/libbsp/m68k/gen68360/make/custom/pgh360.cfg
@@ -9,6 +9,8 @@ include $(RTEMS_ROOT)/make/custom/default.cfg
CPU_CFLAGS = -mcpu32
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