diff mbox series

[3/5] ARM: tegra: p2771-0000: enable PIE relocation

Message ID 1584387649-20959-4-git-send-email-twarren@nvidia.com
State Accepted
Commit c0d436fe892f1cc31bde3426834fe8512bc8a029
Headers show
Series Misc fixes for Tegra | expand

Commit Message

Tom Warren March 16, 2020, 7:40 p.m. UTC
From: Vishruth <vishruthj at nvidia.com>

U-Boot is configured to build as position independent executable. Enable
relocation of RELA section required to work with different load
addresses.

Signed-off-by: Vishruth <vishruthj at nvidia.com>
Signed-off-by: Tom Warren <twarren at nvidia.com>
---
 configs/p2771-0000-000_defconfig | 1 +
 configs/p2771-0000-500_defconfig | 1 +
 2 files changed, 2 insertions(+)

Comments

Stephen Warren March 17, 2020, 5:30 p.m. UTC | #1
On 3/16/20 1:40 PM, twarren at nvidia.com wrote:
> From: Vishruth <vishruthj at nvidia.com>
> 
> U-Boot is configured to build as position independent executable. Enable
> relocation of RELA section required to work with different load
> addresses.

Reviewed-by: Stephen Warren <swarren at nvidia.com>
diff mbox series

Patch

diff --git a/configs/p2771-0000-000_defconfig b/configs/p2771-0000-000_defconfig
index 06f12e2..e347a77 100644
--- a/configs/p2771-0000-000_defconfig
+++ b/configs/p2771-0000-000_defconfig
@@ -36,3 +36,4 @@  CONFIG_TEGRA186_POWER_DOMAIN=y
 CONFIG_SYS_NS16550=y
 CONFIG_USB=y
 CONFIG_DM_USB=y
+CONFIG_POSITION_INDEPENDENT=y
diff --git a/configs/p2771-0000-500_defconfig b/configs/p2771-0000-500_defconfig
index 1a14a92..0803b26 100644
--- a/configs/p2771-0000-500_defconfig
+++ b/configs/p2771-0000-500_defconfig
@@ -36,3 +36,4 @@  CONFIG_TEGRA186_POWER_DOMAIN=y
 CONFIG_SYS_NS16550=y
 CONFIG_USB=y
 CONFIG_DM_USB=y
+CONFIG_POSITION_INDEPENDENT=y