From 8755f2a3d072c442962aed8df330bd9a18bae204 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Sat, 6 Feb 2016 10:22:12 -0600 Subject: m68k/.../uC5282.cfg: Disable per function sections updates #2575. --- c/src/lib/libbsp/m68k/uC5282/make/custom/uC5282.cfg | 6 ++++-- 1 file 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) -- cgit v1.2.3