January 23, 2015 [D-runtime] [D-Programming-Language/druntime] f3c792: use dlopen handle instead of link_map to identify ... | ||||
|---|---|---|---|---|
| ||||
Attachments:
| Branch: refs/heads/master Home: https://github.com/D-Programming-Language/druntime Commit: f3c7922cbc89a50d046820c9b17af2f2ad96162f https://github.com/D-Programming-Language/druntime/commit/f3c7922cbc89a50d046820c9b17af2f2ad96162f Author: Martin Nowak <code@dawg.eu> Date: 2014-12-27 (Sat, 27 Dec 2014) Changed paths: M src/rt/sections_linux.d Log Message: ----------- use dlopen handle instead of link_map to identify dso - handle is the natural identifier of a loaded DSO - it's easier on FreeBSD to get obtain an handle from a DSO internal address than to get the link_map Commit: bda15e680e86ad0d4b74eb5b878a241a3674b7b8 https://github.com/D-Programming-Language/druntime/commit/bda15e680e86ad0d4b74eb5b878a241a3674b7b8 Author: Martin Nowak <code@dawg.eu> Date: 2014-12-27 (Sat, 27 Dec 2014) Changed paths: M mak/MANIFEST M mak/SRCS M posix.mak M src/rt/sections.d A src/rt/sections_elf_shared.d R src/rt/sections_freebsd.d R src/rt/sections_linux.d Log Message: ----------- Shared builds for FreeBSD and mv sections_linux to sections_elf_shared Commit: 658b5a24710278cd184f6a6b23fb912b1a2d6d7c https://github.com/D-Programming-Language/druntime/commit/658b5a24710278cd184f6a6b23fb912b1a2d6d7c Author: Martin Nowak <code@dawg.eu> Date: 2014-12-27 (Sat, 27 Dec 2014) Changed paths: M posix.mak M src/rt/bss_section.c M src/rt/sections_elf_shared.d M test/exceptions/Makefile M test/init_fini/Makefile M test/shared/Makefile M test/shared/src/load.d Log Message: ----------- make sections_elf_shared work with FreeBSD - use local symbol to get handle of druntime - relocate elf stringtable entry - dlopen(RTLD_NOLOAD) increfs on linux, but not on FBSD - use getprogname instead of program_invocation_name Commit: afb4cc29ed4b44e400440c40aa6ad8093d2a3524 https://github.com/D-Programming-Language/druntime/commit/afb4cc29ed4b44e400440c40aa6ad8093d2a3524 Author: Martin Nowak <code@dawg.eu> Date: 2014-12-27 (Sat, 27 Dec 2014) Changed paths: M src/core/sys/freebsd/sys/link_elf.d M src/core/sys/linux/link.d M src/core/sys/solaris/link.d M src/rt/sections_elf_shared.d Log Message: ----------- use specialized _rtls_add_phdr on FBSD - also add @nogc overload to dl_iterate_phdr and such Commit: 7c8fa30d94d5763f6822a9acd004b4e2ca307fd5 https://github.com/D-Programming-Language/druntime/commit/7c8fa30d94d5763f6822a9acd004b4e2ca307fd5 Author: Martin Nowak <code@dawg.eu> Date: 2014-12-27 (Sat, 27 Dec 2014) Changed paths: M src/rt/sections_elf_shared.d M test/shared/Makefile M test/shared/src/load_13414.d Log Message: ----------- fix tests - C host must explicitly be linked against pthread - need dummy ref to _d_dso_registry to support weak linkage Commit: 2bccc2900ee91fb4c374196261128840cf27db97 https://github.com/D-Programming-Language/druntime/commit/2bccc2900ee91fb4c374196261128840cf27db97 Author: Martin Nowak <code@dawg.eu> Date: 2015-01-23 (Fri, 23 Jan 2015) Changed paths: M mak/MANIFEST M mak/SRCS M posix.mak M src/core/sys/freebsd/sys/link_elf.d M src/core/sys/linux/link.d M src/core/sys/solaris/link.d M src/rt/bss_section.c M src/rt/sections.d A src/rt/sections_elf_shared.d R src/rt/sections_freebsd.d R src/rt/sections_linux.d M test/exceptions/Makefile M test/init_fini/Makefile M test/shared/Makefile M test/shared/src/load.d M test/shared/src/load_13414.d Log Message: ----------- Merge pull request #1068 from MartinNowak/sharedFBSD shared library support for FreeBSD Compare: https://github.com/D-Programming-Language/druntime/compare/1a0f8aac7a9c...2bccc2900ee9 | |||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply