template <class Elf = elfldltl::Elf<>, class AbiTraits = elfldltl::LocalAbiTraits>

struct Abi

Defined at line 39 of file ../../sdk/lib/ld/include/lib/ld/abi.h

Public Members

Ptr<const Module> loaded_modules
Addr loaded_modules_count
Addr stack_size
Span<const Addr> preinit_array
Span<const TlsModule> static_tls_modules
Span<const Addr> static_tls_offsets
elfldltl::TlsLayout<Elf> static_tls_layout
static const elfldltl::Soname<Elf> kSoname
static const elfldltl::Soname<Elf> kExecutableName

Public Methods

Elf::size_type dynamic_tls_index (Elf::size_type tls_module_id, Elf::size_type max_static_tls_modid)

Maps a dynamic TLS module ID to a 0-based index for dynamic TLS allocations.

Defined at line 134 of file ../../sdk/lib/ld/include/lib/ld/abi.h

Elf::size_type dynamic_tls_index (Elf::size_type tls_module_id)

Defined at line 140 of file ../../sdk/lib/ld/include/lib/ld/abi.h

Records