diff options
Diffstat (limited to 'meta/recipes-devtools/binutils/files/plt32trunc.patch')
-rw-r--r-- | meta/recipes-devtools/binutils/files/plt32trunc.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/meta/recipes-devtools/binutils/files/plt32trunc.patch b/meta/recipes-devtools/binutils/files/plt32trunc.patch new file mode 100644 index 0000000000..4990f5dbb6 --- /dev/null +++ b/meta/recipes-devtools/binutils/files/plt32trunc.patch | |||
@@ -0,0 +1,24 @@ | |||
1 | --- binutils/bfd/elf32-arm.h.orig 2004-04-22 22:11:15.000000000 -0400 | ||
2 | +++ binutils/bfd/elf32-arm.h 2004-04-22 22:28:37.000000000 -0400 | ||
3 | @@ -2229,6 +2229,8 @@ elf32_arm_relocate_section (output_bfd, | ||
4 | case R_ARM_PC24: | ||
5 | case R_ARM_ABS32: | ||
6 | case R_ARM_THM_PC22: | ||
7 | + case R_ARM_PLT32: | ||
8 | + | ||
9 | if (info->shared | ||
10 | && ( | ||
11 | (!info->symbolic && h->dynindx != -1) | ||
12 | @@ -2262,11 +2264,6 @@ elf32_arm_relocate_section (output_bfd, | ||
13 | relocation = 0; | ||
14 | break; | ||
15 | |||
16 | - case R_ARM_PLT32: | ||
17 | - if (h->plt.offset != (bfd_vma)-1) | ||
18 | - relocation = 0; | ||
19 | - break; | ||
20 | - | ||
21 | default: | ||
22 | if (unresolved_reloc) | ||
23 | _bfd_error_handler | ||
24 | |||