From mboxrd@z Thu Jan 1 00:00:00 1970 From: York Sun Date: Thu, 25 Sep 2014 09:49:51 -0700 Subject: [U-Boot] [RFC PATCH v1] powerpc: add --bss-plt to LDFLAGS In-Reply-To: <1410321790-12914-1-git-send-email-judge.packham@gmail.com> References: <1410321790-12914-1-git-send-email-judge.packham@gmail.com> Message-ID: <542447AF.4030405@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > Signed-off-by: Chris Packham > --- Applied to u-boot-mpc85xx, awaiting upstream. York