[Buildroot] [PATCH] toolchain: arc-2016.03: fix generation of dynamic relocs for -pie

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Thu May 26 19:20:28 UTC 2016


Hello,

On Wed, 25 May 2016 15:01:40 +0300, Alexey Brodkin wrote:
> Currently even if -pie flag is provided to LD dynamic relocations
> won't be created. That in its turn will break U-Boot self-relocation
> functionality.
> 
> This fix resolves mentioned problem.
> 
> Note as of today this is a sort of off-the-tree patch right from
> our binutils guy but in coming day similar fix will be applied to
> upstream binutils as well.
> 
> Signed-off-by: Alexey Brodkin <abrodkin at synopsys.com>
> Cc: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
> Cc: Peter Korsgaard <peter at korsgaard.com>
> ---
>  ...ith-dynamic-relocs-not-being-generated-wi.patch | 34 ++++++++++++++++++++++
>  1 file changed, 34 insertions(+)
>  create mode 100644 package/binutils/arc-2016.03/0700-Fix-issue-with-dynamic-relocs-not-being-generated-wi.patch

Applied to next, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com



More information about the buildroot mailing list