https://issues.dlang.org/show_bug.cgi?id=19622
Issue ID: 19622 Summary: rt.section_elf_shared: Support shared libraries on MIPS and RISCV Product: D Version: D2 Hardware: Other OS: Linux Status: NEW Severity: major Priority: P1 Component: druntime Assignee: nob...@puremagic.com Reporter: ibuc...@gdcproject.org Both targets #define DL_RO_DYN_SECTION 1, which means that glibc won't adjust .dynamic section on start-up. We must do it ourselves in section_elf_shared, see the version paths for OpenBSD and NetBSD for how. --- strtab = cast(const(char)*)(info.dlpi_addr + dyn.d_un.d_ptr); --- --