]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
PR ld/26288: Revert obsolete part of PR ld/26047 fix
authorMaciej W. Rozycki <macro@wdc.com>
Thu, 23 Jul 2020 19:24:58 +0000 (20:24 +0100)
committerMaciej W. Rozycki <macro@wdc.com>
Thu, 23 Jul 2020 19:24:58 +0000 (20:24 +0100)
commit9b6165529df6a759d65fc786a44eb28e226b81ad
tree5669f232c11be32a130200195261c73557e4c12c
parent60955197a1d3815752a33a951f2651bc8a477bcb
PR ld/26288: Revert obsolete part of PR ld/26047 fix

Revert commit a3fc941881e4 ("Stop the linker from accepting executable
ELF files as inputs to other links."), which has been made obsolete by
commit a87e1817a435 ("Have the linker fail if any attempt to link in an
executable is made.").  An earlier check triggers added with the latter
commit making the piece of code removed dead.

ld/
PR ld/26288

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

(cherry picked from commit b5dd7120f6bcbd1fe650b8839a53b2bd423fbf60)
ld/ChangeLog
ld/ldelf.c