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

Joel Sherrill joel at rtems.org
Wed Jan 20 16:36:36 UTC 2016


Gedare.. can you delete
https://codein.withgoogle.com/dashboard/tasks/5302925211467776/ which I
think is the GCI task for this activity.

Sebastian.. you already committed this but the GCI students are putting
before and after sizes for every sample test for every variant of the BSP
in their commit message. This way we have a real record of the size impact.

On Wed, Jan 20, 2016 at 3:16 AM, Sebastian Huber <sebh at rtems.org> wrote:

> 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
>
> _______________________________________________
> vc mailing list
> vc at rtems.org
> http://lists.rtems.org/mailman/listinfo/vc
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20160120/52494fdb/attachment.html>


More information about the devel mailing list