summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel@rtems.org>2016-02-06 08:50:26 -0600
committerJoel Sherrill <joel@rtems.org>2016-02-06 08:50:34 -0600
commit72d8e64cd0d189c3d2f4ffb6b2bf9d5d8e9e5fa6 (patch)
treef158a1bc313405b068eb92de4086807f81b1b345
parentpowerpc/.../haleakala.cfg: Disable per function sections. (diff)
downloadrtems-72d8e64cd0d189c3d2f4ffb6b2bf9d5d8e9e5fa6.tar.bz2
powerpc/.../ss555.cfg: Disable per function sections.
updates #2563.
-rw-r--r--c/src/lib/libbsp/powerpc/ss555/make/custom/ss555.cfg6
1 files changed, 4 insertions, 2 deletions
diff --git a/c/src/lib/libbsp/powerpc/ss555/make/custom/ss555.cfg b/c/src/lib/libbsp/powerpc/ss555/make/custom/ss555.cfg
index fab48174da..998a089372 100644
--- a/c/src/lib/libbsp/powerpc/ss555/make/custom/ss555.cfg
+++ b/c/src/lib/libbsp/powerpc/ss555/make/custom/ss555.cfg
@@ -20,9 +20,11 @@ CPU_CFLAGS = -mcpu=$(GCC_CPU_MODEL) -D$(RTEMS_CPU_MODEL)
# optimize flag: typically -O2
CFLAGS_OPTIMIZE_V = -O2 -g -fno-keep-inline-functions
-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
define bsp-post-link
$(default-bsp-post-link)