Fix seg-fault when trying to place non-ELF orphan sections.
authorNick Clifton <nickc@redhat.com>
Wed, 2 Aug 2017 10:45:05 +0000 (11:45 +0100)
committerNick Clifton <nickc@redhat.com>
Wed, 2 Aug 2017 10:45:05 +0000 (11:45 +0100)
commitddff3d84be42fa80c2c9aaa635f2b9269e74e4f9
tree6e89d2025694a77c9c10c449fda23a1b62863b16
parentd84ed528d4817b0ff854006b65a9f6ec75f0407a
Fix seg-fault when trying to place non-ELF orphan sections.

PR 21884
* emultempl/elf32.em (_place_orphan): Skip non-ELF binaries when
looking for sections to merge.
ld/ChangeLog
ld/emultempl/elf32.em