[rtems commit] bsp/qoriq: Function and data sections

Sebastian Huber sebh at rtems.org
Wed Jan 20 09:16:24 UTC 2016


Module:    rtems
Branch:    master
Commit:    ac84d42e7241677828d08191fb0b970839f8535d
Changeset: http://git.rtems.org/rtems/commit/?id=ac84d42e7241677828d08191fb0b970839f8535d

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Mon Oct 26 09:10:22 2015 +0100

bsp/qoriq: Function and data sections

---

 c/src/lib/libbsp/powerpc/qoriq/make/custom/qoriq_t2080rdb.cfg | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/c/src/lib/libbsp/powerpc/qoriq/make/custom/qoriq_t2080rdb.cfg b/c/src/lib/libbsp/powerpc/qoriq/make/custom/qoriq_t2080rdb.cfg
index 110316f..814526d 100644
--- a/c/src/lib/libbsp/powerpc/qoriq/make/custom/qoriq_t2080rdb.cfg
+++ b/c/src/lib/libbsp/powerpc/qoriq/make/custom/qoriq_t2080rdb.cfg
@@ -10,3 +10,6 @@ CPU_CFLAGS = -mcpu=e6500 -m32 -msdata=sysv -fno-common \
 	-D__ppc_generic
 
 CFLAGS_OPTIMIZE_V = -O2 -g
+CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
+
+LDFLAGS = -Wl,--gc-sections



More information about the vc mailing list