Use gcc/sections/elf_shared.d on Solaris 11.5 (PR d/88150)
authorRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Sun, 14 Apr 2019 09:18:42 +0000 (09:18 +0000)
committerRainer Orth <ro@gcc.gnu.org>
Sun, 14 Apr 2019 09:18:42 +0000 (09:18 +0000)
commit4d51312053fc8d12ddcdad6c2cf07d9437ac5e60
treedb584c0cb9a6d3766807bedbd34e76010f5c6b1b
parent77086e012541bf68f71195db9e4c7ef41bd2fe22
Use gcc/sections/elf_shared.d on Solaris 11.5 (PR d/88150)

PR d/88150
* libdruntime/gcc/sections/elf_shared.d [Solaris] (SharedELF): Set
to true.
Import core.sys.solaris.dlfcn, core.sys.solaris.link,
core.sys.solaris.sys.elf, core.sys.solaris.sys.link.
(dummy_ref): Declare.
(initSections): Initialize dummy_ref.
(getDependencies): Set strtab.
(handleForName): Don't dlclose handle.
(findDSOInfoForAddr): Set IterateManually.
(getprogname): Declare.
(progname): Use it.
* libdruntime/gcc/sections/package.d [Solaris]: Import
gcc.sections.elf_shared instead of gcc.sections.solaris.
* libdruntime/gcc/sections/solaris.d: Remove.
* libdruntime/Makefile.am (DRUNTIME_DSOURCES): Remove
gcc/sections/solaris.d.

From-SVN: r270345
libphobos/ChangeLog
libphobos/libdruntime/Makefile.am
libphobos/libdruntime/Makefile.in
libphobos/libdruntime/gcc/sections/elf_shared.d
libphobos/libdruntime/gcc/sections/package.d
libphobos/libdruntime/gcc/sections/solaris.d [deleted file]