diff options
author | Joel Sherrill <joel@rtems.org> | 2016-02-05 07:51:48 -0600 |
---|---|---|
committer | Joel Sherrill <joel@rtems.org> | 2016-02-06 08:46:30 -0600 |
commit | c5ce9c3c2133a1e9139b1e90796ee4b4fa90fb41 (patch) | |
tree | 0b0634e869be2877e8de41578e0aa8c3e2ca4299 /c/src/lib/libbsp/powerpc/haleakala/make/custom/haleakala.cfg | |
parent | arm: Fix Cortex-M7 support (diff) | |
download | rtems-c5ce9c3c2133a1e9139b1e90796ee4b4fa90fb41.tar.bz2 |
powerpc/.../haleakala.cfg: Disable per function sections.
updates #2561.
Diffstat (limited to 'c/src/lib/libbsp/powerpc/haleakala/make/custom/haleakala.cfg')
-rw-r--r-- | c/src/lib/libbsp/powerpc/haleakala/make/custom/haleakala.cfg | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/c/src/lib/libbsp/powerpc/haleakala/make/custom/haleakala.cfg b/c/src/lib/libbsp/powerpc/haleakala/make/custom/haleakala.cfg index e43b7397eb..3f7c6358c2 100644 --- a/c/src/lib/libbsp/powerpc/haleakala/make/custom/haleakala.cfg +++ b/c/src/lib/libbsp/powerpc/haleakala/make/custom/haleakala.cfg @@ -17,9 +17,11 @@ CPU_CFLAGS = -mcpu=405 -Dppc405 # -O4 is ok for RTEMS # NOTE: some level of -O may be actually required by inline assembler CFLAGS_OPTIMIZE_V = -O1 -g -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) |