]> code.ossystems Code Review - openembedded-core.git/commit
binutils: Apply the proper fix for PR 16428
authorH.J. Lu <hjl.tools@gmail.com>
Tue, 24 Jun 2014 21:18:19 +0000 (14:18 -0700)
committerSaul Wold <sgw@linux.intel.com>
Fri, 25 Jul 2014 16:49:54 +0000 (09:49 -0700)
commite48b93a495205f812d71967548943ab80df79092
tree472d4db84a139b615993a148e53076bb59c53ace
parent56ab3df34cbea9f139935297221cc781e44770a2
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>
meta/recipes-devtools/binutils/binutils-2.24.inc
meta/recipes-devtools/binutils/binutils/fix-pr16428.patch [new file with mode: 0644]
meta/recipes-devtools/binutils/binutils/fix-pr16428a.patch [deleted file]
meta/recipes-devtools/binutils/binutils/fix-pr16428b.patch [deleted file]