diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2017-03-02 15:20:19 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2017-03-02 15:20:19 +0100 |
commit | 62f16ad4e32370f82d986f926ec60bc70db1e980 (patch) | |
tree | f6a73424c6cf276d4906a1f44340ca83a1526b4c /c/src/lib/libbsp/powerpc/qoriq/make/custom/qoriq.inc | |
parent | bsp/qoriq: Do not overwrite configured baud (diff) | |
download | rtems-62f16ad4e32370f82d986f926ec60bc70db1e980.tar.bz2 |
bsp/qoriq: Enable linker garbage collection
Diffstat (limited to 'c/src/lib/libbsp/powerpc/qoriq/make/custom/qoriq.inc')
-rw-r--r-- | c/src/lib/libbsp/powerpc/qoriq/make/custom/qoriq.inc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/powerpc/qoriq/make/custom/qoriq.inc b/c/src/lib/libbsp/powerpc/qoriq/make/custom/qoriq.inc index 63bc0099a2..3fcc7ce04c 100644 --- a/c/src/lib/libbsp/powerpc/qoriq/make/custom/qoriq.inc +++ b/c/src/lib/libbsp/powerpc/qoriq/make/custom/qoriq.inc @@ -13,3 +13,6 @@ CPU_CFLAGS = -mcpu=8540 -meabi -msdata=sysv -fno-common -mstrict-align \ -D__ppc_generic CFLAGS_OPTIMIZE_V = -Os -g +CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections + +LDFLAGS = -Wl,--gc-sections |