diff options
author | Joel Sherrill <joel@rtems.org> | 2016-02-06 09:45:40 -0600 |
---|---|---|
committer | Joel Sherrill <joel@rtems.org> | 2016-02-06 09:45:48 -0600 |
commit | 123e2ec098d960665730a3c04bf706ccf849edf1 (patch) | |
tree | 684c46e7cc5a40da398c3c897b3d5e0dfd85966d | |
parent | m68k/.../mrm332.cfg: Disable per function sections (diff) | |
download | rtems-123e2ec098d960665730a3c04bf706ccf849edf1.tar.bz2 |
m68k/.../mcf5225x.cfg: Disable per function sections
updates #2568.
-rw-r--r-- | c/src/lib/libbsp/m68k/mcf5225x/make/custom/mcf5225x.cfg | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/c/src/lib/libbsp/m68k/mcf5225x/make/custom/mcf5225x.cfg b/c/src/lib/libbsp/m68k/mcf5225x/make/custom/mcf5225x.cfg index b53b214199..a3aed593af 100644 --- a/c/src/lib/libbsp/m68k/mcf5225x/make/custom/mcf5225x.cfg +++ b/c/src/lib/libbsp/m68k/mcf5225x/make/custom/mcf5225x.cfg @@ -16,9 +16,11 @@ CPU_CFLAGS = -mcpu=52235 $(PROJECT_FLAGS) # optimize flag: typically -O2 CFLAGS_OPTIMIZE_V = -O2 -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 # This defines the operations performed on the linked executable. # is currently required. |