mirror of
https://git.yoctoproject.org/poky
synced 2026-05-31 00:39:46 +00:00
binutils: Fix ICE in gold
Found when linking busybox using gold linker Change-Id: I47b89998b9cb3d75ac97113a1b0fba109483b198 (From OE-Core rev: f370b72a0d5e13bd4f53daea99f0851517b361a2) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -24,6 +24,7 @@ SRC_URI = "\
|
|||||||
file://binutils-armv5e.patch \
|
file://binutils-armv5e.patch \
|
||||||
file://mips64-default-ld-emulation.patch \
|
file://mips64-default-ld-emulation.patch \
|
||||||
file://binutils-xlp-support.patch \
|
file://binutils-xlp-support.patch \
|
||||||
|
file://0001-Fix-an-internal-error-in-do_print_to_mapfile-seen-wi.patch \
|
||||||
"
|
"
|
||||||
SRC_URI[md5sum] = "d9f3303f802a5b6b0bb73a335ab89d66"
|
SRC_URI[md5sum] = "d9f3303f802a5b6b0bb73a335ab89d66"
|
||||||
SRC_URI[sha256sum] = "22defc65cfa3ef2a3395faaea75d6331c6e62ea5dfacfed3e2ec17b08c882923"
|
SRC_URI[sha256sum] = "22defc65cfa3ef2a3395faaea75d6331c6e62ea5dfacfed3e2ec17b08c882923"
|
||||||
|
|||||||
+36
@@ -0,0 +1,36 @@
|
|||||||
|
From 54583eb23233b5369372ae41768655693d0584ef Mon Sep 17 00:00:00 2001
|
||||||
|
From: Khem Raj <raj.khem@gmail.com>
|
||||||
|
Date: Fri, 27 Feb 2015 09:05:49 +0000
|
||||||
|
Subject: [PATCH] Fix an internal error in do_print_to_mapfile seen with gold
|
||||||
|
on arm
|
||||||
|
|
||||||
|
This is due to missing implementation of do_print_to_mapfile for
|
||||||
|
atrributea section (ARM.attributes), it started to show up after fix
|
||||||
|
for PR gold/16980 was installed
|
||||||
|
|
||||||
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||||
|
|
||||||
|
Upstream-Status: Submitted
|
||||||
|
---
|
||||||
|
gold/ChangeLog | 5 +++++
|
||||||
|
gold/attributes.h | 4 ++++
|
||||||
|
2 files changed, 9 insertions(+)
|
||||||
|
|
||||||
|
diff --git a/gold/attributes.h b/gold/attributes.h
|
||||||
|
index c0b171f..6e3ab8c 100644
|
||||||
|
--- a/gold/attributes.h
|
||||||
|
+++ b/gold/attributes.h
|
||||||
|
@@ -387,6 +387,10 @@ class Output_attributes_section_data : public Output_section_data
|
||||||
|
{ }
|
||||||
|
|
||||||
|
protected:
|
||||||
|
+ // Write to a map file.
|
||||||
|
+ void
|
||||||
|
+ do_print_to_mapfile(Mapfile* mapfile) const
|
||||||
|
+ { mapfile->print_output_data(this, _("** attributes")); }
|
||||||
|
// Write the data to the output file.
|
||||||
|
void
|
||||||
|
do_write(Output_file*);
|
||||||
|
--
|
||||||
|
2.1.4
|
||||||
|
|
||||||
Reference in New Issue
Block a user