x86-64: Handle undefined IFUNC symbol with -z now
authorH.J. Lu <hjl.tools@gmail.com>
Wed, 19 Apr 2017 16:59:14 +0000 (09:59 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Wed, 19 Apr 2017 16:59:30 +0000 (09:59 -0700)
commite492d2f8ac653b050019865ba1418fc5b057c00b
tree03eb796ac523898976f1199254204e20cb9b11c6
parenta6c21d4a553de184562fd8409a5bcd3f2cc2561a
x86-64: Handle undefined IFUNC symbol with -z now

Since undefined IFUNC symbol is treated as normal FUNC symbol, don't
abort on undefined IFUNC symbol in the second PLT.

bfd/

PR ld/21401
* elf64-x86-64.c (elf_x86_64_finish_dynamic_symbol): Don't abort
on on undefined IFUNC symbol in the second PLT.

ld/

PR ld/21401
* testsuite/ld-ifunc/ifunc.exp: Add a libtest-2-now.so test with
-z now.
bfd/ChangeLog
bfd/elf64-x86-64.c
ld/ChangeLog
ld/testsuite/ld-ifunc/ifunc.exp
This page took 0.030108 seconds and 4 git commands to generate.