Have the linker fail if any attempt to link in an executable is made.
authorNick Clifton <nickc@redhat.com>
Thu, 28 May 2020 16:43:21 +0000 (17:43 +0100)
committerNick Clifton <nickc@redhat.com>
Thu, 28 May 2020 16:43:21 +0000 (17:43 +0100)
commita87e1817a435dab6c6c042f9306497c9f13d4236
treefe25ebf0548d80ba774792afda33bb7366ebd41c
parenta3fc941881e4224eff3ef20ba1e784026bcc17fa
Have the linker fail if any attempt to link in an executable is made.

PR 26047
* ldelf.c (ldelf_after_open): Fail if attempting to link one
executable into another.  Ensure that the test is made for all
forms of linking.
ld/ChangeLog
ld/ldelf.c