[Issue 19622] New: rt.section_elf_shared: Support shared libraries on MIPS and RISCV

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Jan 26 20:19:35 UTC 2019


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: nobody at puremagic.com
          Reporter: ibuclaw at 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); 
---

--


More information about the Digitalmars-d-bugs mailing list