From: Tom Rini Date: Sat, 8 Apr 2017 21:14:45 -0400 Subject: [U-Boot] ARMv8: add GOT sections to the list of sections copied In-Reply-To: <1490378935-35315-1-git-send-email-philipp.tomsich@theobroma-systems.com> References: <1490378935-35315-1-git-send-email-philipp.tomsich@theobroma-systems.com> Message-ID: <20170409011445.GF19897@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Fri, Mar 24, 2017 at 07:08:55PM +0100, Philipp Tomsich wrote: > Recent Linux distributions (e.g. Debian 9) include cross-compilers for > AArch64, but only for the aarch64-linux-gnu triplet only. It can thus > be expected that users will attempt to use the system cross-compiler > (instead of an aarch64-elf variant) to compile U-Boot for their ARMv8 > target systems. > > One key differences between an aarch64-linux-gnu and an aarch64-elf > compiler are the default settings regarding position-independent: with > the aarch64-linux-gnu compiler, the default will create and use the > global offset table. > > This change-set adjusts the list of sections copied on ARMv8 to include > the GOT sections. With this added, the list matches the previous setup > for AArch32 closely. > > Note that this is not an 'academic' issue, but was in fact encountered > by our QA during testing of the RK3399-Q7 BSP and resulted in an > early failure of the SPL stage during FDT setup. > > Signed-off-by: Philipp Tomsich > Tested-by: Klaus Goger > Reviewed-by: Simon Glass > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: