Fix seg-fault linking corrupt binary.
authorNick Clifton <nickc@redhat.com>
Fri, 2 Dec 2016 14:40:46 +0000 (14:40 +0000)
committerNick Clifton <nickc@redhat.com>
Fri, 2 Dec 2016 14:40:46 +0000 (14:40 +0000)
commit68c638d6e655a937a48770a5df765e6ebbc5b890
tree701325693106b2faa2db4582b39d5a51c8a5b6bd
parent08698b7b46c9c932530dcbcd7e851d27a7d2c503
Fix seg-fault linking corrupt binary.

PR ld/20912
* emultempl/elf32.em (_place_orphan): Test for ELF format of the
orphan before looking for the SHF_EXCLUDE flag.
ld/ChangeLog
ld/emultempl/elf32.em