Properly adjust h->plt.refcount
authorH.J. Lu <hjl.tools@gmail.com>
Fri, 21 Dec 2012 18:15:22 +0000 (18:15 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Fri, 21 Dec 2012 18:15:22 +0000 (18:15 +0000)
commita5479e5ff4c29dcf93acde1424b69d4909fd3044
treec1908afeee4aa8472b534f890d7d416765aab6f0
parentedcac0c105556029774320bc8288beb472e999b5
Properly adjust h->plt.refcount

bfd/

PR ld/14980
* elf32-i386.c (elf_i386_adjust_dynamic_symbol): Properly
adjust h->plt.refcount.
* elf64-x86-64.c (elf_x86_64_adjust_dynamic_symbol): Likewise.

ld/testsuite/

PR ld/14980
* ld-ifunc/ifunc-14c.s: New file.
* ld-ifunc/ifunc-14e-i386.d: Likewise.
* ld-ifunc/ifunc-14e-x86-64.d: Likewise.
* ld-ifunc/ifunc-14f-i386.d: Likewise.
* ld-ifunc/ifunc-14f-x86-64.d: Likewise.
bfd/ChangeLog
bfd/elf32-i386.c
bfd/elf64-x86-64.c
ld/testsuite/ChangeLog
ld/testsuite/ld-ifunc/ifunc-14c.s [new file with mode: 0644]
ld/testsuite/ld-ifunc/ifunc-14e-i386.d [new file with mode: 0644]
ld/testsuite/ld-ifunc/ifunc-14e-x86-64.d [new file with mode: 0644]
ld/testsuite/ld-ifunc/ifunc-14f-i386.d [new file with mode: 0644]
ld/testsuite/ld-ifunc/ifunc-14f-x86-64.d [new file with mode: 0644]