[U-Boot] [PATCH 2/2] mpc83xx: Add relocation support for -fpic

Joakim Tjernlund joakim.tjernlund at transmode.se
Mon Nov 22 16:16:16 CET 2010


>
> By rearranging the linker script we get support for
> relocation of -fpic for free.
>
> Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund at transmode.se>
> ---
>  arch/powerpc/cpu/mpc83xx/u-boot.lds             |    5 +++--
>  nand_spl/board/freescale/mpc8313erdb/u-boot.lds |    4 +++-
>  nand_spl/board/freescale/mpc8315erdb/u-boot.lds |    4 +++-
>  3 files changed, 9 insertions(+), 4 deletions(-)

Forgot to mention that NAND SPL for these two boards should be able
to replace -fPIC -mrelocatable with -fpic with this patch.
That should save you some space.

    Jocke



More information about the U-Boot mailing list