]> git.sur5r.net Git - u-boot/commit
powerpc: add --bss-plt to LDFLAGS
authorChris Packham <judge.packham@gmail.com>
Wed, 10 Sep 2014 04:03:10 +0000 (16:03 +1200)
committerYork Sun <yorksun@freescale.com>
Thu, 25 Sep 2014 16:22:37 +0000 (09:22 -0700)
commit039b77396abb0ed78af34dadbd0786dfaf0e6aa9
treeb7dd29cfc91aa86105ff9d1646fd84cbd04f69fa
parent5273aa3834ec68616e173ceac91cdcf60dba2868
powerpc: add --bss-plt to LDFLAGS

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.

Signed-off-by: Joakim Tjernlund <joakim.tjernlund@transmode.se>
Signed-off-by: Chris Packham <judge.packham@gmail.com>
Acked-by: Joakim Tjernlund <joakim.tjernlund@transmode.se>
Acked-by: Scott Wood <scottwood@freescale.com>
Reviewed-by: York Sun <yorksun@freescale.com>
arch/powerpc/config.mk