Stop the linker from accepting executable ELF files as inputs to other links.
authorNick Clifton <nickc@redhat.com>
Thu, 28 May 2020 15:43:01 +0000 (16:43 +0100)
committerNick Clifton <nickc@redhat.com>
Thu, 28 May 2020 15:43:01 +0000 (16:43 +0100)
commita3fc941881e4224eff3ef20ba1e784026bcc17fa
tree9eb5ed86c3d6ee5db40ef5ad03e0869acd36e984
parent44486dcf19b62708ad49bbb6094e065a223dea99
Stop the linker from accepting executable ELF files as inputs to other links.

PR 26047
* ldelf.c (ldelf_after_open): Fail if attempting to link one
executable into another.
ld/ChangeLog
ld/ldelf.c