diff options
author | Edgar E. Iglesias <edgar.iglesias@xilinx.com> | 2020-09-09 20:07:26 +0300 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2020-09-22 13:47:28 +0300 |
commit | 28c851f12847096dbe7a4e480d1092630cd01936 (patch) | |
tree | 1202f680cebf8c853ac96789a1256b5c55d22476 /drivers/mailbox | |
parent | 04d13b5d09c17a076260e2b9fb92c0d708d37264 (diff) | |
download | u-boot-28c851f12847096dbe7a4e480d1092630cd01936.tar.xz |
arm64: Add support for larger PIE U-Boot
Linking a U-Boot larger than 1MB fails with PIE enabled:
u-boot/arch/arm/cpu/armv8/start.S:71:(.text+0x3c): relocation
truncated to fit: R_AARCH64_ADR_PREL_LO21 against symbol `__rel_dyn_end'
defined in .bss_start section in u-boot.
This extends the supported range by using adrp & add to load symbols
early while starting up.
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Reviewed-by: Stephen Warren <swarren@nvidia.com>
Tested-by: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'drivers/mailbox')
0 files changed, 0 insertions, 0 deletions