u-boot-brain/arch/arm
Philipp Tomsich 4b0d506ed3 ARMv8: add GOT sections to the list of sections copied
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 <philipp.tomsich@theobroma-systems.com>
Tested-by: Klaus Goger <klaus.goger@theobroma-systems.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
2017-04-08 09:26:46 -04:00
..
cpu Remove various unused interrupt related code 2017-04-06 20:42:18 -04:00
dts Merge branch 'master' of git://git.denx.de/u-boot-sunxi 2017-04-06 20:40:24 -04:00
imx-common imx6: Add src_base structure define macro 2017-03-17 09:27:08 +01:00
include Merge branch 'master' of git://git.denx.de/u-boot-sunxi 2017-04-06 20:40:24 -04:00
lib Remove various unused interrupt related code 2017-04-06 20:42:18 -04:00
mach-aspeed dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
mach-at91 arm: Migrate SYS_THUMB_BUILD to Kconfig, introduce SPL_SYS_THUMB_BUILD 2017-03-18 20:28:01 -04:00
mach-bcm283x ARM: bcm283x: Implement EFI RTS reset_system 2016-11-28 20:15:19 -05:00
mach-davinci Remove various unused interrupt related code 2017-04-06 20:42:18 -04:00
mach-exynos ARM: Migrate errata to Kconfig 2017-03-09 19:52:50 -05:00
mach-highbank ARM: highbank: move SoC sources to mach-highbank 2015-02-21 08:23:51 -05:00
mach-integrator integrator: switch to DM serial port 2015-08-12 20:47:49 -04:00
mach-keystone Remove various unused interrupt related code 2017-04-06 20:42:18 -04:00
mach-kirkwood kirkwood: remove get_random_hex() and MD5 dependency 2017-03-17 09:09:20 -04:00
mach-meson board_f: Drop setup_dram_config() wrapper 2017-04-05 16:36:51 -04:00
mach-mvebu board_f: Drop setup_dram_config() wrapper 2017-04-05 16:36:51 -04:00
mach-omap2 board_f: Drop setup_dram_config() wrapper 2017-04-05 16:36:51 -04:00
mach-orion5x board_f: Drop setup_dram_config() wrapper 2017-04-05 16:36:51 -04:00
mach-rmobile armv8: aarch64: Fix the warning about x1-x3 nonzero issue 2017-01-18 09:29:33 -08:00
mach-rockchip rockchip: Add support for MiQi rk3288 board 2017-04-04 20:01:57 -06:00
mach-s5pc1xx arm: s5pc1xx: move SoC to mach-s5pc1xx 2015-11-30 17:17:01 +09:00
mach-snapdragon drivers/sysreset: group sysreset drivers 2016-08-12 09:22:17 -04:00
mach-socfpga SPL: add support to boot from a partition type 2017-02-17 14:15:14 -05:00
mach-sti board: Add STMicroelectronics STiH410-B2260 support 2017-03-14 20:40:21 -04:00
mach-stm32 clk: stm32f7: add clock driver for stm32f7 family 2017-03-17 14:15:12 -04:00
mach-sunxi sunxi: introduce Allwinner H5 config option 2017-04-05 15:03:17 +05:30
mach-tegra board_f: Drop setup_dram_config() wrapper 2017-04-05 16:36:51 -04:00
mach-uniphier board_f: Drop setup_dram_config() wrapper 2017-04-05 16:36:51 -04:00
mach-versatile arm: Remove versatileab board 2015-09-11 15:01:25 -04:00
mach-zynq zynq: Move zynq to clock framework 2017-02-17 10:22:46 +01:00
thumb1/include/asm/proc-armv arm: support Thumb-1 with CONFIG_SYS_THUMB_BUILD 2015-11-10 15:03:48 +01:00
config.mk ARMv8: add GOT sections to the list of sections copied 2017-04-08 09:26:46 -04:00
Kconfig sunxi: simplify ACTLR.SMP bit set #ifdef 2017-04-05 15:03:17 +05:30
Kconfig.debug arm: debug: add Kconfig entries for lowlevel debug 2014-10-26 22:23:12 +01:00
Makefile imx: mx7ulp: Add soc level initialization codes and functions 2017-03-17 09:27:08 +01:00