[oe-commits] H.J. Lu : binutils: Apply the proper fix for PR 16428
git at git.openembedded.org
git at git.openembedded.org
Tue Jun 24 22:37:43 UTC 2014
Module: openembedded-core.git
Branch: master-next
Commit: f4d7204bc505028d7eae8f11def01875b3e2067b
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=f4d7204bc505028d7eae8f11def01875b3e2067b
Author: H.J. Lu <hjl.tools at gmail.com>
Date: Tue Jun 24 14:18:19 2014 -0700
binutils: Apply the proper fix for PR 16428
It is fixed by
commit 4199e3b8669d0a36448687850374fdc2ad7240b6
Author: Alan Modra <amodra at 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 which this one.
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/recipes-devtools/binutils/binutils-2.24.inc | 3 +-
.../binutils/binutils/fix-pr16428.patch | 121 +++++++++++++++++++++
.../binutils/binutils/fix-pr16428a.patch | 75 -------------
.../binutils/binutils/fix-pr16428b.patch | 75 -------------
4 files changed, 122 insertions(+), 152 deletions(-)
Diff: http://git.openembedded.org/?p=openembedded-core.git/?a=commitdiff;h=f4d7204bc505028d7eae8f11def01875b3e2067b
More information about the Openembedded-commits
mailing list