path: root/meta/recipes-devtools/binutils/
diff options
authorH.J. Lu <>2014-06-24 14:18:19 -0700
committerRichard Purdie <>2014-06-25 13:51:45 +0100
commitad07178802d04ff475b3cac6a18f43523351da3e (patch)
treed0d6a26282a385878c5bac2907bd0ea1a73bbcb3 /meta/recipes-devtools/binutils/
parent7f6a92b1c51517b63cd15752ecac853de3d6245c (diff)
binutils: Apply the proper fix for PR 16428
It is fixed by commit 4199e3b8669d0a36448687850374fdc2ad7240b6 Author: Alan Modra <> 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. (From OE-Core rev: db37534c412ff3f1460687611060b3c4b3f95a04) Signed-off-by: Richard Purdie <>
Diffstat (limited to 'meta/recipes-devtools/binutils/')
1 files changed, 1 insertions, 2 deletions
diff --git a/meta/recipes-devtools/binutils/ b/meta/recipes-devtools/binutils/
index 2a9297b..ef6a4eb 100644
--- a/meta/recipes-devtools/binutils/
+++ b/meta/recipes-devtools/binutils/
@@ -28,8 +28,7 @@ SRC_URI = "\
file://fix-pr15815.patch \
file://fix-pr2404.patch \
file://fix-pr16476.patch \
- file://fix-pr16428a.patch \
- file://fix-pr16428b.patch \
+ file://fix-pr16428.patch \
file://replace_macros_with_static_inline.patch \
file://0001-Fix-MMIX-build-breakage-from-bfd_set_section_vma-cha.patch \
OpenPOWER on IntegriCloud