[U-Boot] [RFC PATCH v1] powerpc: add --bss-plt to LDFLAGS

York Sun yorksun at freescale.com
Thu Sep 25 18:49:51 CEST 2014


On 09/09/2014 09:03 PM, Chris Packham wrote:
> With some versions of gcc (that we know of 4.6.3 and 4.8.2 are affected)
> it is necessary to specify --bss-plt to get the final blrl in the
> _GOT2_TABLE_. Without this the last symbol does not get it's address
> relocated.  For the P2041RDB board this ended up being
> NetArpWaitTimerStart which caused the ARP packets to timeout
> immediately.
> 
> Helped-by: Joakim Tjernlund <joakim.tjernlund at transmode.se>
> Signed-off-by: Chris Packham <judge.packham at gmail.com>
> ---

Applied to u-boot-mpc85xx, awaiting upstream.

York




More information about the U-Boot mailing list