summaryrefslogtreecommitdiffstats
path: root/meta-microblaze/recipes-devtools/binutils/binutils/0006-Fix-bug-in-TLSTPREL-Relocation.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-microblaze/recipes-devtools/binutils/binutils/0006-Fix-bug-in-TLSTPREL-Relocation.patch')
-rw-r--r--meta-microblaze/recipes-devtools/binutils/binutils/0006-Fix-bug-in-TLSTPREL-Relocation.patch10
1 files changed, 4 insertions, 6 deletions
diff --git a/meta-microblaze/recipes-devtools/binutils/binutils/0006-Fix-bug-in-TLSTPREL-Relocation.patch b/meta-microblaze/recipes-devtools/binutils/binutils/0006-Fix-bug-in-TLSTPREL-Relocation.patch
index 5d42170b..68a5d684 100644
--- a/meta-microblaze/recipes-devtools/binutils/binutils/0006-Fix-bug-in-TLSTPREL-Relocation.patch
+++ b/meta-microblaze/recipes-devtools/binutils/binutils/0006-Fix-bug-in-TLSTPREL-Relocation.patch
@@ -1,21 +1,19 @@
1From 8cfdaf2c7c3b3e8572588e6749f688f6b702fe35 Mon Sep 17 00:00:00 2001 1From 63c56c953483dd62a2c2ac8e750947a4673f9e86 Mon Sep 17 00:00:00 2001
2From: Nagaraju Mekala <nmekala@xilix.com> 2From: Nagaraju Mekala <nmekala@xilix.com>
3Date: Mon, 15 Jun 2015 16:50:30 +0530 3Date: Mon, 15 Jun 2015 16:50:30 +0530
4Subject: [PATCH 06/38] Fix bug in TLSTPREL Relocation 4Subject: [PATCH 06/34] Fix bug in TLSTPREL Relocation
5 5
6Fixed the problem related to the fixup/relocations TLSTPREL. 6Fixed the problem related to the fixup/relocations TLSTPREL.
7When the fixup is applied the addend is not added at the correct offset 7When the fixup is applied the addend is not added at the correct offset
8of the instruction. The offset is hard coded considering its big endian 8of the instruction. The offset is hard coded considering its big endian
9and it fails for Little endian. This patch allows support for both 9and it fails for Little endian. This patch allows support for both
10big & little-endian compilers 10big & little-endian compilers
11
12Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
13--- 11---
14 bfd/elf32-microblaze.c | 4 ++-- 12 bfd/elf32-microblaze.c | 4 ++--
15 1 file changed, 2 insertions(+), 2 deletions(-) 13 1 file changed, 2 insertions(+), 2 deletions(-)
16 14
17diff --git a/bfd/elf32-microblaze.c b/bfd/elf32-microblaze.c 15diff --git a/bfd/elf32-microblaze.c b/bfd/elf32-microblaze.c
18index e36cd102bd2..c66f4ffef36 100644 16index 7cf1b6eab5b..edde04bafe4 100644
19--- a/bfd/elf32-microblaze.c 17--- a/bfd/elf32-microblaze.c
20+++ b/bfd/elf32-microblaze.c 18+++ b/bfd/elf32-microblaze.c
21@@ -1484,9 +1484,9 @@ microblaze_elf_relocate_section (bfd *output_bfd, 19@@ -1484,9 +1484,9 @@ microblaze_elf_relocate_section (bfd *output_bfd,
@@ -31,5 +29,5 @@ index e36cd102bd2..c66f4ffef36 100644
31 case (int) R_MICROBLAZE_TEXTREL_64: 29 case (int) R_MICROBLAZE_TEXTREL_64:
32 case (int) R_MICROBLAZE_TEXTREL_32_LO: 30 case (int) R_MICROBLAZE_TEXTREL_32_LO:
33-- 31--
342.25.1 322.37.1 (Apple Git-137.1)
35 33