powerpc/.../qemuppc.cfg: Disable per function sections

updates #2564.
This commit is contained in:
Joel Sherrill
2016-02-06 08:53:30 -06:00
parent 72d8e64cd0
commit 8926fadfc0

View File

@@ -13,9 +13,11 @@ CPU_CFLAGS = -mcpu=603e -Dppc603e
# 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)