14 Feb
2024
14 Feb
'24
11:06 a.m.
On Thu Dec 21 12:37:55 2023 +0000, Rémi Bernon wrote:
I think this is a LLD specific failure, looks like the same happens on x86_64. Funnily LLD doesn't even generate a PT_DYNAMIC program header, and so doesn't have DT_DEBUG entry where to put _r_debug anyway. Should be fixed now, I used `(char *)phdr - sizeof(ElfW(Ehdr))` as load address instead of `executable_start`.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/4518#note_61154