Initialize input statement created in add_archive_member
authorThomas Preud'homme <thomas.preudhomme@arm.com>
Mon, 31 Oct 2016 09:44:18 +0000 (09:44 +0000)
committerThomas Preud'homme <thomas.preudhomme@arm.com>
Mon, 31 Oct 2016 09:44:18 +0000 (09:44 +0000)
commitfb47deda560b754008c35b5ec13fe02ef0593019
treecf2e18434831379d421121bfc7ed4d7177223433
parentc646b02fdcae5f37bd88f33a0c4683ef13ad5c82
Initialize input statement created in add_archive_member

2016-10-31  Thomas Preud'homme  <thomas.preudhomme@arm.com>

ld/
* ldmain.c (add_archive_element): Initialize input->header.type.
* plugin.c (plugin_maybe_claim): Assert the statement is an input
statement.
ld/ChangeLog
ld/ldmain.c
ld/plugin.c