elf_loader 0.17.0

A no_std-friendly ELF loader and runtime linker for Rust.
Documentation
//! Thread Local Storage (TLS) management.
//!
//! This module provides support for both static and dynamic TLS models.
//! It includes the `TlsResolver<Arch>` trait for integrating with the environment's
//! thread management system and a default implementation for same-process setups.

mod defs;
mod manager;
mod registry;
mod relocation;
mod state;
mod thread;
mod traits;

pub(crate) use defs::{TLS_GET_ADDR_SYMBOL, TlsImageProvider};
pub(crate) use state::CoreTlsState;

pub use defs::{
    ModuleTls, TlsDescBinding, TlsDescRequest, TlsImageSource, TlsIndex, TlsInfo, TlsModuleId,
    TlsRequest, TlsTpOffset,
};
pub use manager::DefaultTlsResolver;
pub use registry::{
    TlsModuleSnapshot, TlsRegistry, TlsRegistrySnapshot, TlsSlotSnapshot, TlsStorage,
};
pub(crate) use relocation::TlsRelocOutcome;
pub use thread::ThreadDtv;
pub use traits::TlsResolver;