[binutils-gdb] x86-64: Handle undefined IFUNC symbol with -z now

sergiodj+buildbot@sergiodj.net sergiodj+buildbot@sergiodj.net
Wed Apr 19 17:20:00 GMT 2017


*** TEST RESULTS FOR COMMIT e492d2f8ac653b050019865ba1418fc5b057c00b ***

Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: e492d2f8ac653b050019865ba1418fc5b057c00b

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.



More information about the Gdb-testers mailing list