Stop the linker from loosing the entry point for COFF/PE code when compiling with...
authorNick Clifton <nickc@redhat.com>
Thu, 4 May 2023 13:24:16 +0000 (14:24 +0100)
committerNick Clifton <nickc@redhat.com>
Thu, 4 May 2023 13:24:16 +0000 (14:24 +0100)
commit3539414584be0094b0a4fe56dfd64ea79d802edc
tree2f8c8d214e781494a013f58836c77251e284fc7b
parent35130e73da95371af99734cda3ef8915a6eb5e7a
Stop the linker from loosing the entry point for COFF/PE code when compiling with LTO enabled.

  PR 30300
  * emultempl/pep.em (set_entry_point): Add an undefined reference to the entry point if it has been constructed heuristically.
  * emultempl/pe.em (set_entry_point): Likewise.
ld/ChangeLog
ld/emultempl/pe.em
ld/emultempl/pep.em