]> git.dujemihanovic.xyz Git - u-boot.git/commit
arm64: Trap PIE builds early if load address is not 4K aligned
authorEdgar E. Iglesias <edgar.iglesias@xilinx.com>
Wed, 9 Sep 2020 17:07:25 +0000 (19:07 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 22 Sep 2020 10:47:28 +0000 (12:47 +0200)
commit04d13b5d09c17a076260e2b9fb92c0d708d37264
treea9296bb90bb11a5004d2c96ac0f8a771f92144ee
parent11f4fbf0d4a1160285002f242a2406c1740c4a27
arm64: Trap PIE builds early if load address is not 4K aligned

PIE requires a 4K aligned load address. If this is not met, trap
the startup sequence in a WFI loop rather than running into obscure
failures.

Tested-by: Michal Simek <michal.simek@xilinx.com>
Suggested-by: André Przywara <andre.przywara@arm.com>
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Reviewed-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/arm/cpu/armv8/start.S