aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKoen Kooi <koen.kooi@linaro.org>2015-05-22 08:37:25 +0200
committerKoen Kooi <koen.kooi@linaro.org>2015-05-22 08:40:49 +0200
commita6b3567c93dd49f74a7e71d8d34c16f8d132578c (patch)
tree8f267715025eff41d986c982fe726fba237b25f5
parent733976125bb1aff4f3c0a802ecb614e1dbbd864a (diff)
downloadmeta-linaro-dora.tar.gz
binutils 2.23.2: sync all OE-core patchesdora
The previous commit fixed one build issue on recent distros, this fixes another, hopefully the last. Change-Id: Ide0d051be4ba0e479c50ddc3ec2ea93294915aba Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
-rw-r--r--meta-linaro-toolchain/recipes-devtools/binutils/binutils-2.23.2.inc1
-rw-r--r--meta-linaro-toolchain/recipes-devtools/binutils/binutils-2.23.2/0001-Fix-MMIX-build-breakage-from-bfd_set_section_vma-cha.patch31
2 files changed, 32 insertions, 0 deletions
diff --git a/meta-linaro-toolchain/recipes-devtools/binutils/binutils-2.23.2.inc b/meta-linaro-toolchain/recipes-devtools/binutils/binutils-2.23.2.inc
index 2ff4dc43..6bf7950d 100644
--- a/meta-linaro-toolchain/recipes-devtools/binutils/binutils-2.23.2.inc
+++ b/meta-linaro-toolchain/recipes-devtools/binutils/binutils-2.23.2.inc
@@ -34,6 +34,7 @@ SRC_URI = "\
file://binutils-xlp-support.patch \
file://tlsdesc_plt-aarch64_be.patch \
file://replace_macros_with_static_inline.patch \
+ file://0001-Fix-MMIX-build-breakage-from-bfd_set_section_vma-cha.patch \
"
BACKPORT = "\
diff --git a/meta-linaro-toolchain/recipes-devtools/binutils/binutils-2.23.2/0001-Fix-MMIX-build-breakage-from-bfd_set_section_vma-cha.patch b/meta-linaro-toolchain/recipes-devtools/binutils/binutils-2.23.2/0001-Fix-MMIX-build-breakage-from-bfd_set_section_vma-cha.patch
new file mode 100644
index 00000000..f786b176
--- /dev/null
+++ b/meta-linaro-toolchain/recipes-devtools/binutils/binutils-2.23.2/0001-Fix-MMIX-build-breakage-from-bfd_set_section_vma-cha.patch
@@ -0,0 +1,31 @@
+Upstream-Status: Backport
+
+From 0a09fb4a09e80c36fa3ef763ae276fd13d272a36 Mon Sep 17 00:00:00 2001
+From: Hans-Peter Nilsson <hp@bitrange.com>
+Date: Sat, 1 Feb 2014 01:11:28 +0100
+Subject: [PATCH] Fix MMIX build breakage from bfd_set_section_vma change.
+
+ * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Fix typo in
+ call to bfd_set_section_vma exposed by recent bfd_set_section_vma
+ change.
+---
+ ld/ChangeLog | 6 ++++++
+ ld/emultempl/mmix-elfnmmo.em | 2 +-
+ 2 files changed, 7 insertions(+), 1 deletion(-)
+
+diff --git a/ld/emultempl/mmix-elfnmmo.em b/ld/emultempl/mmix-elfnmmo.em
+index 0059792..5e9781a 100644
+--- a/ld/emultempl/mmix-elfnmmo.em
++++ b/ld/emultempl/mmix-elfnmmo.em
+@@ -102,7 +102,7 @@ mmix_after_allocation (void)
+ This section is only present when there are register symbols. */
+ sec = bfd_get_section_by_name (link_info.output_bfd, MMIX_REG_SECTION_NAME);
+ if (sec != NULL)
+- bfd_set_section_vma (abfd, sec, 0);
++ bfd_set_section_vma (sec->owner, sec, 0);
+
+ if (!_bfd_mmix_after_linker_allocation (link_info.output_bfd, &link_info))
+ {
+--
+1.7.10.4
+