commit | 3539414584be0094b0a4fe56dfd64ea79d802edc | [log] [tgz] |
---|---|---|
author | Nick Clifton <nickc@redhat.com> | Thu May 04 14:24:16 2023 +0100 |
committer | Nick Clifton <nickc@redhat.com> | Thu May 04 14:24:16 2023 +0100 |
tree | 2f8c8d214e781494a013f58836c77251e284fc7b | |
parent | 35130e73da95371af99734cda3ef8915a6eb5e7a [diff] |
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.