gcc/libphobos
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
..
libdruntime Work around lack of dlpi_tls_modid before Solaris 11.5 2019-04-14 09:30:42 +00:00
m4 Work around lack of dlpi_tls_modid before Solaris 11.5 2019-04-14 09:30:42 +00:00
src Work around lack of dlpi_tls_modid before Solaris 11.5 2019-04-14 09:30:42 +00:00
testsuite Work around lack of dlpi_tls_modid before Solaris 11.5 2019-04-14 09:30:42 +00:00
acinclude.m4
aclocal.m4
ChangeLog Work around lack of dlpi_tls_modid before Solaris 11.5 2019-04-14 09:30:42 +00:00
config.h.in
configure Work around lack of dlpi_tls_modid before Solaris 11.5 2019-04-14 09:30:42 +00:00
configure.ac Work around lack of dlpi_tls_modid before Solaris 11.5 2019-04-14 09:30:42 +00:00
configure.tgt Add netbsd support for D compiler and runtime 2019-02-14 21:25:39 +00:00
d_rules.am libphobos: Replace library check programs with dg-runtest 2019-04-12 06:25:17 +00:00
Makefile.am
Makefile.in Work around lack of dlpi_tls_modid before Solaris 11.5 2019-04-14 09:30:42 +00:00
README.gcc Document merge process for dmd, druntime and phobos. 2019-01-12 19:50:41 +00:00

The files in this directory where noted are part of the DRuntime
and Phobos library.

DRuntime is the low-level runtime library backing the D programming
language, hosted at https://github.com/dlang/druntime/.

Phobos is the standard library for the D Programming Language, hosted
at https://github.com/dlang/phobos/.

The following sources and directories are part of DRuntime:
  libdruntime/core/
  libdruntime/gc/
  libdruntime/gcstub/
  libdruntime/object.d
  libdruntime/rt/

The following sources and directories are part of Phobos:
  src/etc/
  src/index.d
  src/std/

To report a bug or look up known issues with the runtime or standard
library please visit the issue tracker at https://issues.dlang.org/.

All changes to either of these libraries should go through the
upstream repository first, then merged back to GCC.