toolchain: arc-2016.03: fix generation of dynamic relocs for -pie
authorAlexey Brodkin <Alexey.Brodkin@synopsys.com>
Wed, 25 May 2016 12:01:40 +0000 (15:01 +0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 26 May 2016 19:23:05 +0000 (21:23 +0200)
commit1845a68cef2da2dd46c6165cb2459f805eb1d8a0
tree058e1fc0732ef42fab7025430da7962b740afcf5
parenteda809cd052dea73bca02385c7a10a4d7795c912
toolchain: arc-2016.03: fix generation of dynamic relocs for -pie

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@synopsys.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/binutils/arc-2016.03/0700-Fix-issue-with-dynamic-relocs-not-being-generated-wi.patch [new file with mode: 0644]