diff options
author | Joel Sherrill <joel@rtems.org> | 2016-02-06 10:24:54 -0600 |
---|---|---|
committer | Joel Sherrill <joel@rtems.org> | 2016-02-06 10:25:00 -0600 |
commit | e41d8ce5a764d57952102009ff1c5e5ace69a1c8 (patch) | |
tree | 539dfc4bdf271e51bffbe1646ee4bfb2e0524138 /c/src/lib/libbsp/arm/lpc176x | |
parent | m68k/.../uC5282.cfg: Disable per function sections (diff) | |
download | rtems-e41d8ce5a764d57952102009ff1c5e5ace69a1c8.tar.bz2 |
arm/.../lpc1768_embed.cfg: Disable per function sections
updates #2576.
Diffstat (limited to 'c/src/lib/libbsp/arm/lpc176x')
-rw-r--r-- | c/src/lib/libbsp/arm/lpc176x/make/custom/lpc1768_mbed.cfg | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/c/src/lib/libbsp/arm/lpc176x/make/custom/lpc1768_mbed.cfg b/c/src/lib/libbsp/arm/lpc176x/make/custom/lpc1768_mbed.cfg index 6e7b32c001..7923264ecf 100644 --- a/c/src/lib/libbsp/arm/lpc176x/make/custom/lpc1768_mbed.cfg +++ b/c/src/lib/libbsp/arm/lpc176x/make/custom/lpc1768_mbed.cfg @@ -10,9 +10,10 @@ CPU_CFLAGS = -march=armv7-m -mthumb CFLAGS_OPTIMIZE_V = -O2 -ggdb3 +# FIXME: Disabled because linkcmds lacks proper KEEP() directives. See #2561. # Add CFLAGS and LDFLAGS for compiling and linking with per item sections -CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections -LDFLAGS = -Wl,--gc-sections +# CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections +# LDFLAGS = -Wl,--gc-sections BINEXT?=.bin # This defines the operations performed on the linked executable. |