Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions runtime/druntime/src/rt/sections_elf_shared.d
Original file line number Diff line number Diff line change
Expand Up @@ -1254,17 +1254,17 @@ else
version (LDC)
{
// We do not want to depend on __tls_get_addr for non-Shared builds to support
// linking against a static C runtime.
// linking against a static glibc.
version (X86) version = X86_Any;
version (X86_64) version = X86_Any;
version (Shared) {} else version (linux) version (X86_Any)
version = Static_Linux_X86_Any;
version (Shared) {} else version (CRuntime_Glibc) version (X86_Any)
version = Static_Glibc_X86_Any;
}

// LDC: added `alignment` param
void[] getTLSRange(size_t mod, size_t sz, size_t alignment) nothrow @nogc
{
version (Static_Linux_X86_Any)
version (Static_Glibc_X86_Any)
{
void* tcb;
version (X86)
Expand Down
Loading