[binutils-gdb] Check the DYNAMIC bit for input shared objects

sergiodj+buildbot@sergiodj.net sergiodj+buildbot@sergiodj.net
Tue Jun 20 04:37:00 GMT 2017


*** TEST RESULTS FOR COMMIT abfa390dac6ffcfc6de9659c0b78cfe524347450 ***

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

Check the DYNAMIC bit for input shared objects

Since the BFD section count may not be cleared for shared objects during
linking, we should check the DYNAMIC bit for input shared objects.

bfd/

	PR ld/21626
	* elf-properties.c (_bfd_elf_link_setup_gnu_properties): Check
	the DYNAMIC bit instead of bfd_count_sections.

ld/

	PR ld/21626
	* testsuite/ld-i386/i386.exp: Run ld/21626 tests.
	* testsuite/ld-x86-64/x86-64.exp: Likewise.



More information about the Gdb-testers mailing list