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

Scott Wood scottwood at freescale.com
Tue Oct 12 19:38:09 CEST 2010


On Tue, 12 Oct 2010 12:31:25 -0500
Kim Phillips <kim.phillips at freescale.com> wrote:

> that moderate size increase in start.S breaks nand builds:
> 
> Configuring for MPC8313ERDB_NAND_66 board...
> start.o:(.got2+0x4): undefined reference to `_GOT_TABLE_'
> make[1]: *** [/home/r1aaha/git/u-boot/nand_spl/u-boot-spl] Error 1

I don't think that's the size increase (though that might end up being
an issue as well), but rather the NAND SPL linker script needs to be
updated with _GOT_TABLE_.

-Scott



More information about the U-Boot mailing list