u-boot/arch/arm
Andre Przywara eabc090215 arm64: PIE: Do not skip static relocation
When we build an arm64 target and enable POSITION_INDEPENDENT, we were
skipping our build-time dynamic relocation fixup routine (STATIC_RELA).

This was probably done because we didn't need it in this case, as the
PIE fixup routine in start.S would take care of that at runtime.

However when we now skip this routine (upon detecting that the fixup
offset is 0), this might lead to uninitialised pointers.

Remove the exception, so that we always do the build-time relocation.

NOTE: GNU binutils starting with v2.27.1 do this build-time relocation
automatically, to be in-line with other architecures. So on newer
toolchains our manual fixup is actually not needed. It doesn't hurt to
have it, though, so that we keep compatibility with the popular Linaro
toolchains, which lack this feature.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Stephen Warren <swarren@nvidia.com>
2020-10-08 11:42:36 -04:00
..
cpu Merge branch 'next' 2020-10-05 14:10:59 -04:00
dts - generate unique mac address from SoC serial on S400 board 2020-10-06 08:36:10 -04:00
include phy: meson-gxl: remove invalid USB3 PHY driver 2020-10-05 17:59:45 +02:00
lib arm64: Add support for larger PIE U-Boot 2020-09-22 12:47:28 +02:00
mach-aspeed ram: move aspeed ram driver into drivers/ directory 2020-10-08 10:58:33 -04:00
mach-at91 ARM: mach-at91: add support for new SoC sama7g5 2020-09-25 10:39:22 +03:00
mach-bcm283x - add support for PCI and XHCI for RPi4 (64 bit only) 2020-07-10 14:31:22 -04:00
mach-bcmstb
mach-cortina
mach-davinci Makefile: Rename ALL-y to INPUTS-y 2020-07-28 19:30:39 -06:00
mach-exynos common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
mach-highbank common: Drop init.h from common header 2020-05-18 17:33:33 -04:00
mach-imx ARM: mx6: ddr: Add support for iMX6UL/ULL/SL/SDL 2020-09-17 14:40:55 +02:00
mach-integrator
mach-ipq40xx IPQ40xx: clk: Use dt-bindings instead of hardcoding 2020-09-18 16:20:47 -04:00
mach-k3 armv8: K3: j7200: Add custom MMU support 2020-09-15 18:51:53 +05:30
mach-keystone Makefile: Rename ALL-y to INPUTS-y 2020-07-28 19:30:39 -06:00
mach-kirkwood Convert CONFIG_NETCONSOLE to Kconfig 2020-08-23 13:06:36 -04:00
mach-lpc32xx treewide: convert bd_t to struct bd_info by coccinelle 2020-07-17 09:30:13 -04:00
mach-mediatek ARM: MediaTek: amend IC description for MediaTek MT8512 2020-09-12 10:53:01 -04:00
mach-meson arm: meson-axg: add board_usb_init()/cleanup() for USB gadget 2020-10-05 17:59:45 +02:00
mach-mvebu Convert CONFIG_ENV_OVERWRITE to Kconfig 2020-07-28 16:18:06 -04:00
mach-nexell pwm: add driver for nexell 2020-07-29 08:43:40 -04:00
mach-octeontx arm: octeontx: Add support for OcteonTX SoC platforms 2020-08-25 08:01:16 +02:00
mach-octeontx2 arm: octeontx2: Add support for OcteonTX2 SoC platforms 2020-08-25 08:01:16 +02:00
mach-omap2 arm: mach-omap2: am33xx: Add device structure for spi 2020-09-15 18:51:53 +05:30
mach-orion5x treewide: convert bd_t to struct bd_info by coccinelle 2020-07-17 09:30:13 -04:00
mach-owl Actions: OWL: Calculate SDRAM size 2020-07-07 16:09:22 -04:00
mach-qemu qemu: don't allow to select 32- and 64-bit 2020-04-24 10:51:32 -04:00
mach-rmobile arm: mach-rmobile: Mark the default s_init function as weak 2020-09-26 17:25:43 +02:00
mach-rockchip rockchip: make_fit_atf: ignore empty PT_LOAD segment 2020-09-16 16:41:30 +08:00
mach-s5pc1xx common: Drop net.h from common header 2020-05-18 17:33:31 -04:00
mach-snapdragon treewide: convert devfdt_get_addr() to dev_read_addr() 2020-07-25 14:46:57 -06:00
mach-socfpga arm: socfpga: soc64: Check FPGA Config status register before bridge reset 2020-09-03 11:26:07 +08:00
mach-sti
mach-stm32 common: Drop init.h from common header 2020-05-18 17:33:33 -04:00
mach-stm32mp arm: stm32mp: cleanup test on eth_env_set_enetaddr result 2020-09-09 14:19:12 +02:00
mach-sunxi sunxi: Silence warning about non-static inline function 2020-06-01 22:38:08 +05:30
mach-tegra tegra: Don't enable binman on ARMv8 SoCs 2020-07-28 19:30:39 -06:00
mach-u8500 common: Drop init.h from common header 2020-05-18 17:33:33 -04:00
mach-uniphier ARM: uniphier: use FIELD_GET() to get access to revision register fields 2020-08-18 02:01:14 +09:00
mach-versal xilinx: kconfig: Move sourcing of board Kconfig to mach folders 2020-09-23 10:31:40 +02:00
mach-versatile
mach-zynq fpga: kconfig: Rename SPL_FPGA_SUPPORT to SPL_FPGA 2020-09-23 10:31:41 +02:00
mach-zynqmp arm64: zynqmp: Change bl2_plat_get_bl31_params() guarding 2020-09-23 10:31:40 +02:00
mach-zynqmp-r5 xilinx: r5: Fix MPU setting for R5 2020-09-23 10:31:41 +02:00
thumb1/include/asm/proc-armv
config.mk Makefile: Rename ALL-y to INPUTS-y 2020-07-28 19:30:39 -06:00
Kconfig arm64: PIE: Do not skip static relocation 2020-10-08 11:42:36 -04:00
Kconfig.debug
Makefile arm: octeontx2: Add support for OcteonTX2 SoC platforms 2020-08-25 08:01:16 +02:00