diff options
author | Tudor Florea <tudor.florea@enea.com> | 2015-10-08 22:46:13 +0200 |
---|---|---|
committer | Tudor Florea <tudor.florea@enea.com> | 2015-10-08 22:46:13 +0200 |
commit | 8d89651ef729e560ad96dcfc002fcde6ff7f923b (patch) | |
tree | eb5be01c25f735d12fe9881ee6327c9b7e8bbe39 /meta-linaro-toolchain/recipes-devtools/binutils/binutils-linaro-2.24/0001-Fix-MMIX-build-breakage-from-bfd_set_section_vma-cha.patch | |
download | meta-linaro-8d89651ef729e560ad96dcfc002fcde6ff7f923b.tar.gz |
initial commit for Enea Linux 5.0 armdizzy-enea
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta-linaro-toolchain/recipes-devtools/binutils/binutils-linaro-2.24/0001-Fix-MMIX-build-breakage-from-bfd_set_section_vma-cha.patch')
-rw-r--r-- | meta-linaro-toolchain/recipes-devtools/binutils/binutils-linaro-2.24/0001-Fix-MMIX-build-breakage-from-bfd_set_section_vma-cha.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/meta-linaro-toolchain/recipes-devtools/binutils/binutils-linaro-2.24/0001-Fix-MMIX-build-breakage-from-bfd_set_section_vma-cha.patch b/meta-linaro-toolchain/recipes-devtools/binutils/binutils-linaro-2.24/0001-Fix-MMIX-build-breakage-from-bfd_set_section_vma-cha.patch new file mode 100644 index 0000000..f786b17 --- /dev/null +++ b/meta-linaro-toolchain/recipes-devtools/binutils/binutils-linaro-2.24/0001-Fix-MMIX-build-breakage-from-bfd_set_section_vma-cha.patch | |||
@@ -0,0 +1,31 @@ | |||
1 | Upstream-Status: Backport | ||
2 | |||
3 | From 0a09fb4a09e80c36fa3ef763ae276fd13d272a36 Mon Sep 17 00:00:00 2001 | ||
4 | From: Hans-Peter Nilsson <hp@bitrange.com> | ||
5 | Date: Sat, 1 Feb 2014 01:11:28 +0100 | ||
6 | Subject: [PATCH] Fix MMIX build breakage from bfd_set_section_vma change. | ||
7 | |||
8 | * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Fix typo in | ||
9 | call to bfd_set_section_vma exposed by recent bfd_set_section_vma | ||
10 | change. | ||
11 | --- | ||
12 | ld/ChangeLog | 6 ++++++ | ||
13 | ld/emultempl/mmix-elfnmmo.em | 2 +- | ||
14 | 2 files changed, 7 insertions(+), 1 deletion(-) | ||
15 | |||
16 | diff --git a/ld/emultempl/mmix-elfnmmo.em b/ld/emultempl/mmix-elfnmmo.em | ||
17 | index 0059792..5e9781a 100644 | ||
18 | --- a/ld/emultempl/mmix-elfnmmo.em | ||
19 | +++ b/ld/emultempl/mmix-elfnmmo.em | ||
20 | @@ -102,7 +102,7 @@ mmix_after_allocation (void) | ||
21 | This section is only present when there are register symbols. */ | ||
22 | sec = bfd_get_section_by_name (link_info.output_bfd, MMIX_REG_SECTION_NAME); | ||
23 | if (sec != NULL) | ||
24 | - bfd_set_section_vma (abfd, sec, 0); | ||
25 | + bfd_set_section_vma (sec->owner, sec, 0); | ||
26 | |||
27 | if (!_bfd_mmix_after_linker_allocation (link_info.output_bfd, &link_info)) | ||
28 | { | ||
29 | -- | ||
30 | 1.7.10.4 | ||
31 | |||