[U-Boot] [PATCH 2/2] PowerPC, nand_spl: Add relocation support for -fpic

Scott Wood scottwood at freescale.com
Thu Dec 9 20:02:58 CET 2010


On Fri, 3 Dec 2010 10:30:38 -0600
"Joakim Tjernlund" <Joakim.Tjernlund at transmode.se> wrote:

> By rearranging the linker script we get support for
> relocation of -fpic for free.
> Move __got2_entries outside _GOT2_TABLE_ defining scope
> matching the rest of PowerPC
> 
> Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund at transmode.se>
> ---
>  nand_spl/board/freescale/mpc8313erdb/u-boot.lds |    4 +++-
>  nand_spl/board/freescale/mpc8315erdb/u-boot.lds |    4 +++-
>  nand_spl/board/sheldon/simpc8313/u-boot.lds     |    4 +++-
>  3 files changed, 9 insertions(+), 3 deletions(-)
> 


Were you able to boot test it on at least one of the boards?

If so:
Acked-by: Scott Wood <scottwood at freescale.com>
if Kim wants to take both of them.

If not, is there anything special I need to test it (specific
toolchain?) besides these two patches?

-Scott



More information about the U-Boot mailing list