Enum multiboot2::ElfSectionType
source · [−]#[repr(u32)]
pub enum ElfSectionType {
Show 14 variants
Unused,
ProgramSection,
LinkerSymbolTable,
StringTable,
RelaRelocation,
SymbolHashTable,
DynamicLinkingTable,
Note,
Uninitialized,
RelRelocation,
Reserved,
DynamicLoaderSymbolTable,
EnvironmentSpecific,
ProcessorSpecific,
}
Expand description
An enum abstraction over raw ELF section types.
Variants
Unused
This value marks the section header as inactive; it does not have an associated section. Other members of the section header have undefined values.
ProgramSection
The section holds information defined by the program, whose format and meaning are determined solely by the program.
LinkerSymbolTable
This section holds a linker symbol table.
StringTable
The section holds a string table.
RelaRelocation
The section holds relocation entries with explicit addends, such as type Elf32_Rela for the 32-bit class of object files. An object file may have multiple relocation sections.
SymbolHashTable
The section holds a symbol hash table.
DynamicLinkingTable
The section holds dynamic linking tables.
Note
This section holds information that marks the file in some way.
Uninitialized
A section of this type occupies no space in the file but otherwise resembles
ProgramSection
. Although this section contains no bytes, the
sh_offset member contains the conceptual file offset.
RelRelocation
The section holds relocation entries without explicit addends, such as type Elf32_Rel for the 32-bit class of object files. An object file may have multiple relocation sections.
Reserved
This section type is reserved but has unspecified semantics.
DynamicLoaderSymbolTable
This section holds a dynamic loader symbol table.
EnvironmentSpecific
Values in this inclusive range ([0x6000_0000, 0x6FFF_FFFF)
) are
reserved for environment-specific semantics.
ProcessorSpecific
Values in this inclusive range ([0x7000_0000, 0x7FFF_FFFF)
) are
reserved for processor-specific semantics.
Trait Implementations
sourceimpl Clone for ElfSectionType
impl Clone for ElfSectionType
sourcefn clone(&self) -> ElfSectionType
fn clone(&self) -> ElfSectionType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ElfSectionType
impl Debug for ElfSectionType
sourceimpl PartialEq<ElfSectionType> for ElfSectionType
impl PartialEq<ElfSectionType> for ElfSectionType
impl Copy for ElfSectionType
impl Eq for ElfSectionType
impl StructuralEq for ElfSectionType
impl StructuralPartialEq for ElfSectionType
Auto Trait Implementations
impl RefUnwindSafe for ElfSectionType
impl Send for ElfSectionType
impl Sync for ElfSectionType
impl Unpin for ElfSectionType
impl UnwindSafe for ElfSectionType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more