]>
Commit | Line | Data |
---|---|---|
0f549683 MT |
1 | http://sourceware.org/bugzilla/show_bug.cgi?id=14189 |
2 | ||
3 | Index: bfd/elf32-arm.c | |
4 | =================================================================== | |
5 | RCS file: /cvs/src/src/bfd/elf32-arm.c,v | |
6 | retrieving revision 1.294 | |
7 | diff -u -3 -p -r1.294 elf32-arm.c | |
8 | --- bfd/elf32-arm.c 28 Jun 2012 16:57:24 -0000 1.294 | |
9 | +++ bfd/elf32-arm.c 29 Jun 2012 13:21:52 -0000 | |
10 | @@ -12668,7 +12668,8 @@ elf32_arm_check_relocs (bfd *abfd, struc | |
11 | ||
12 | /* If the symbol is a function that doesn't bind locally, | |
13 | this relocation will need a PLT entry. */ | |
14 | - root_plt->refcount += 1; | |
15 | + if (root_plt->refcount != -1) | |
16 | + root_plt->refcount += 1; | |
17 | ||
18 | if (!call_reloc_p) | |
19 | arm_plt->noncall_refcount++; |