]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: tegra: p2771-0000: enable PIE relocation
authorVishruth <vishruthj@nvidia.com>
Thu, 26 Mar 2020 22:20:43 +0000 (15:20 -0700)
committerTom Warren <twarren@nvidia.com>
Thu, 2 Apr 2020 21:30:01 +0000 (14:30 -0700)
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@nvidia.com>
Signed-off-by: Tom Warren <twarren@nvidia.com>
Reviewed-by: Stephen Warren <swarren@nvidia.com>
Tested-by: Peter Robinson <probinson@gmail.com>
configs/p2771-0000-000_defconfig
configs/p2771-0000-500_defconfig

index 06f12e2b952ddc5d0ebebc38c9b0202f2a716f92..e347a7728b0870363565500943f7eb19fb451db4 100644 (file)
@@ -36,3 +36,4 @@ CONFIG_TEGRA186_POWER_DOMAIN=y
 CONFIG_SYS_NS16550=y
 CONFIG_USB=y
 CONFIG_DM_USB=y
+CONFIG_POSITION_INDEPENDENT=y
index 1a14a9244aee8d422e801288c336fc232e34cfeb..0803b26cd81aeab69f629fe805ed343393bfdacc 100644 (file)
@@ -36,3 +36,4 @@ CONFIG_TEGRA186_POWER_DOMAIN=y
 CONFIG_SYS_NS16550=y
 CONFIG_USB=y
 CONFIG_DM_USB=y
+CONFIG_POSITION_INDEPENDENT=y