diff options
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.patch | 10 |
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 @@ | |||
1 | From 8cfdaf2c7c3b3e8572588e6749f688f6b702fe35 Mon Sep 17 00:00:00 2001 | 1 | From 63c56c953483dd62a2c2ac8e750947a4673f9e86 Mon Sep 17 00:00:00 2001 |
2 | From: Nagaraju Mekala <nmekala@xilix.com> | 2 | From: Nagaraju Mekala <nmekala@xilix.com> |
3 | Date: Mon, 15 Jun 2015 16:50:30 +0530 | 3 | Date: Mon, 15 Jun 2015 16:50:30 +0530 |
4 | Subject: [PATCH 06/38] Fix bug in TLSTPREL Relocation | 4 | Subject: [PATCH 06/34] Fix bug in TLSTPREL Relocation |
5 | 5 | ||
6 | Fixed the problem related to the fixup/relocations TLSTPREL. | 6 | Fixed the problem related to the fixup/relocations TLSTPREL. |
7 | When the fixup is applied the addend is not added at the correct offset | 7 | When the fixup is applied the addend is not added at the correct offset |
8 | of the instruction. The offset is hard coded considering its big endian | 8 | of the instruction. The offset is hard coded considering its big endian |
9 | and it fails for Little endian. This patch allows support for both | 9 | and it fails for Little endian. This patch allows support for both |
10 | big & little-endian compilers | 10 | big & little-endian compilers |
11 | |||
12 | Signed-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 | ||
17 | diff --git a/bfd/elf32-microblaze.c b/bfd/elf32-microblaze.c | 15 | diff --git a/bfd/elf32-microblaze.c b/bfd/elf32-microblaze.c |
18 | index e36cd102bd2..c66f4ffef36 100644 | 16 | index 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 | -- |
34 | 2.25.1 | 32 | 2.37.1 (Apple Git-137.1) |
35 | 33 | ||