gcc/libphobos/libdruntime
Rainer Orth 235d1c467b Work around lack of dlpi_tls_modid before Solaris 11.5
2019-04-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
	    Iain Buclaw  <ibuclaw@gdcproject.org>

	PR d/88150
	* m4/druntime/os.m4 (DRUNTIME_OS_DLPI_TLS_MODID): New macro.
	* configure.ac: Use it.
	Call AC_USE_SYSTEM_EXTENSIONS.
	* configure: Regenerate.
	* Makefile.in, libdruntime/Makefile.in, src/Makefile.in,
	testsuite/Makefile.in: Regenerate.
	* libdruntime/gcc/config.d.in (OS_Have_Dlpi_Tls_Modid): Define.
	* libdruntime/gcc/sections/elf_shared.d: Import gcc.config.
	(scanSegments) <PT_TLS> [OS_Have_Dlpi_Tls_Modid]: Use
	dlpi_tls_modid.
	[Solaris]: Use dlinfo(RTLD_DI_LINKMAP) to get rt_tlsmodid.
	Otherwise clear pdso._tlsMod, pdso._tlsSize.
	(getTLSRange) [Solaris && !OS_Have_Dlpi_Tls_Modid]: Readjust mod.

Co-Authored-By: Iain Buclaw <ibuclaw@gdcproject.org>

From-SVN: r270347
2019-04-14 09:30:42 +00:00
..
core libphobos: Merge upstream druntime 175bf5fc 2019-04-11 21:11:03 +00:00
gc libphobos: Merge upstream druntime 175bf5fc 2019-04-11 21:11:03 +00:00
gcc Work around lack of dlpi_tls_modid before Solaris 11.5 2019-04-14 09:30:42 +00:00
gcstub
rt libphobos: Move rt.sections modules to gcc.sections 2019-04-13 15:29:15 +00:00
__entrypoint.di
__main.di
LICENSE
Makefile.am Use gcc/sections/elf_shared.d on Solaris 11.5 (PR d/88150) 2019-04-14 09:18:42 +00:00
Makefile.in Work around lack of dlpi_tls_modid before Solaris 11.5 2019-04-14 09:30:42 +00:00
MERGE libphobos: Merge upstream druntime 175bf5fc 2019-04-11 21:11:03 +00:00
object.d