diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2014-06-24 14:18:19 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-06-25 11:49:37 +0100 |
commit | db37534c412ff3f1460687611060b3c4b3f95a04 (patch) | |
tree | a82f97422c11e19fb17f8901ad67bcf3b4422542 /meta/recipes-devtools/gdb/gdb-common.inc | |
parent | 65b79e8ffffb20b7dd83213c72774745f18d978d (diff) | |
download | openembedded-core-db37534c412ff3f1460687611060b3c4b3f95a04.tar.gz openembedded-core-db37534c412ff3f1460687611060b3c4b3f95a04.tar.bz2 openembedded-core-db37534c412ff3f1460687611060b3c4b3f95a04.zip |
binutils: Apply the proper fix for PR 16428
It is fixed by
commit 4199e3b8669d0a36448687850374fdc2ad7240b6
Author: Alan Modra <amodra@gmail.com>
Date: Wed Jan 15 21:50:55 2014 +1030
non-PIC references to __ehdr_start in pie and shared
Rather than hacking every backend to not discard dynamic relocations
against an undefined hidden __ehdr_start, make it appear to be defined
early. We want __ehdr_start hidden before size_dynamic_sections so
that it isn't put in .dynsym, but we do need the dynamic relocations
for a PIE or shared library with a non-PIC reference. Defining it
early is wrong if we don't actually define the symbol later to its
proper value. (In some cases we want to leave the symbol undefined,
for example, when the ELF header isn't loaded, and we don't have this
infomation available in before_allocation.)
So replace the existing patches with this one.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gdb/gdb-common.inc')
0 files changed, 0 insertions, 0 deletions