Don't attach dynamic sections to input from ld --just-symbols
authorH.J. Lu <hjl.tools@gmail.com>
Wed, 27 Aug 2014 14:39:48 +0000 (07:39 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Wed, 27 Aug 2014 14:39:48 +0000 (07:39 -0700)
commit29a9f53e857c5d55df852d0a5d5c41a9247c16a2
treeaf3cf46d6e4fbfca19597e7966eb0e027d6896d8
parent2536ee9d03cb7c4af97bf4b29429bef3c30652c2
Don't attach dynamic sections to input from ld --just-symbols

bfd/

PR ld/17313
* elflink.c (elf_link_add_object_symbols): Don't attach dynamic
sections to input from ld --just-symbols.

2014-08-27  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/17313
* ld-i386/i386.exp (i386tests): Add tests for PR ld/17313.
* ld-x86-64/x86-64.exp (x86_64tests): Likewise.
bfd/ChangeLog
bfd/elflink.c
ld/testsuite/ChangeLog
ld/testsuite/ld-i386/i386.exp
ld/testsuite/ld-x86-64/x86-64.exp