]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/binutils/files/plt32trunc.patch
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / binutils / files / plt32trunc.patch
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