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`.