Skip local IFUNC symbols when checking dynamic relocs in read-only sections.
authorH.J. Lu <hjl.tools@gmail.com>
Thu, 21 Apr 2011 22:25:39 +0000 (22:25 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Thu, 21 Apr 2011 22:25:39 +0000 (22:25 +0000)
commitaa71524235bce7aa6f0b9ae12aa679ed8c3fd96f
tree68c9cae6fe2b22d0d42566b803dd8b3b5540d302
parentf6df62c820e674bda7550f998e83f8b95f22d0fb
Skip local IFUNC symbols when checking dynamic relocs in read-only sections.

bfd/

2011-04-21  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/12694
* elf32-i386.c (elf_i386_readonly_dynrelocs): Skip local IFUNC
symbols.
* elf64-x86-64.c (elf_x86_64_readonly_dynrelocs): Likewise.

ld/testsuite/

2011-04-21  H.J. Lu  <hongjiu.lu@intel.com>

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