diff options
author | Joel Sherrill <joel@rtems.org> | 2016-02-06 10:03:48 -0600 |
---|---|---|
committer | Joel Sherrill <joel@rtems.org> | 2016-02-06 10:12:14 -0600 |
commit | 50ae9957f8da8daf96d6d4963a4ba0c3e5b3ab06 (patch) | |
tree | 5d7c55b181ab3b1fb2b3e54e428dbbf66ba993d9 | |
parent | m68k/.../mcf5206elite.cfg: Disable per function sections (diff) | |
download | rtems-50ae9957f8da8daf96d6d4963a4ba0c3e5b3ab06.tar.bz2 |
m68k/.../gen68340.cfg: Disable per function sections
updates #2573.
-rw-r--r-- | c/src/lib/libbsp/m68k/gen68340/make/custom/gen68340.cfg | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/c/src/lib/libbsp/m68k/gen68340/make/custom/gen68340.cfg b/c/src/lib/libbsp/m68k/gen68340/make/custom/gen68340.cfg index 18eda2bfb5..16177b5f83 100644 --- a/c/src/lib/libbsp/m68k/gen68340/make/custom/gen68340.cfg +++ b/c/src/lib/libbsp/m68k/gen68340/make/custom/gen68340.cfg @@ -13,6 +13,8 @@ CPU_CFLAGS = -mcpu=cpu32 # 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 #2573. +# The following two lines enable compiling and linking on per element. +# CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections +# LDFLAGS = -Wl,--gc-sections |