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

Peter Robinson pbrobinson at gmail.com
Tue Mar 31 12:46:39 CEST 2020


> 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>
Tested-by: Peter Robinson <pbrobinson at gmail.com>

Tested on TX1


> ---
>  configs/p2771-0000-000_defconfig | 1 +
>  configs/p2771-0000-500_defconfig | 1 +
>  2 files changed, 2 insertions(+)
>
> 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
> --
> 1.8.2.1.610.g562af5b
>
>
> -----------------------------------------------------------------------------------
> This email message is for the sole use of the intended recipient(s) and may contain
> confidential information.  Any unauthorized review, use, disclosure or distribution
> is prohibited.  If you are not the intended recipient, please contact the sender by
> reply email and destroy all copies of the original message.
> -----------------------------------------------------------------------------------


More information about the U-Boot mailing list