Type Alias object::build::elf::DynamicSymbol
source · pub type DynamicSymbol<'data> = Symbol<'data, true>;
Expand description
A dynamic symbol.
Aliased Type§
struct DynamicSymbol<'data> {
pub delete: bool,
pub name: ByteString<'data>,
pub section: Option<SectionId>,
pub st_info: u8,
pub st_other: u8,
pub st_shndx: u16,
pub st_value: u64,
pub st_size: u64,
pub version: VersionId,
pub version_hidden: bool,
/* private fields */
}
Fields§
§delete: bool
Ignore this symbol when writing the ELF file.
name: ByteString<'data>
The name of the symbol.
section: Option<SectionId>
The section referenced by the symbol.
Used to set the st_shndx
field in the ELF symbol.
st_info: u8
The st_info
field in the ELF symbol.
st_other: u8
The st_other
field in the ELF symbol.
st_shndx: u16
The st_shndx
field in the ELF symbol.
Only used if Self::section
is None
.
st_value: u64
The st_value
field in the ELF symbol.
st_size: u64
The st_size
field in the ELF symbol.
version: VersionId
GNU version for dynamic symbols.
Set the elf::VERSYM_HIDDEN
flag for this symbol.