diff options
author | Joel Sherrill <joel@rtems.org> | 2016-02-06 09:57:46 -0600 |
---|---|---|
committer | Joel Sherrill <joel@rtems.org> | 2016-02-06 10:08:30 -0600 |
commit | 7cd9f934ff96e2416877083e23ab1dba4be85f92 (patch) | |
tree | 32a9ea7c684d7b29cea74762e6f1598a738d7ecf | |
parent | m68k/.../mcf5329.cfg: Disable per function sections (diff) | |
download | rtems-7cd9f934ff96e2416877083e23ab1dba4be85f92.tar.bz2 |
m68k/.../mcf52235.cfg: Disable per function sections
updates #2570.
-rw-r--r-- | c/src/lib/libbsp/m68k/mcf52235/make/custom/mcf52235.cfg | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/c/src/lib/libbsp/m68k/mcf52235/make/custom/mcf52235.cfg b/c/src/lib/libbsp/m68k/mcf52235/make/custom/mcf52235.cfg index b4431aa0cb..621611123b 100644 --- a/c/src/lib/libbsp/m68k/mcf52235/make/custom/mcf52235.cfg +++ b/c/src/lib/libbsp/m68k/mcf52235/make/custom/mcf52235.cfg @@ -13,9 +13,11 @@ CPU_CFLAGS = -mcpu=52235 # optimize flag: typically -O2 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 #2570. +# The following two lines enable compiling and linking on per element. +# CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections +# LDFLAGS = -Wl,--gc-sections # This defines the operations performed on the linked executable. # is currently required. |