File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -176,6 +176,7 @@ impl ElfSectionExt for SectionHeader {
176176 elf:: abi:: SHT_DYNSYM => ElfSectionType :: DynamicLoaderSymbolTable ,
177177 elf:: abi:: SHT_LOOS ..=elf:: abi:: SHT_HIOS => ElfSectionType :: EnvironmentSpecific ,
178178 elf:: abi:: SHT_LOPROC ..=elf:: abi:: SHT_HIPROC => ElfSectionType :: ProcessorSpecific ,
179+ elf:: abi:: SHT_LOUSER ..=elf:: abi:: SHT_HIUSER => ElfSectionType :: UserDefined ,
179180 e => {
180181 log:: warn!( "Unknown section type {e:x}. Treating as ElfSectionType::Unused" ) ;
181182 ElfSectionType :: Unused
@@ -251,6 +252,10 @@ pub enum ElfSectionType {
251252 /// Values in this inclusive range (`[0x7000_0000, 0x7FFF_FFFF)`) are
252253 /// reserved for processor-specific semantics.
253254 ProcessorSpecific = elf:: abi:: SHT_LOPROC ,
255+
256+ /// Values in this inclusive range (`[0x8000_0000, 0x8FFF_FFFF)`) are
257+ /// reserved for user-specific semantics.
258+ UserDefined = elf:: abi:: SHT_LOUSER ,
254259}
255260
256261bitflags ! {
You can’t perform that action at this time.
0 commit comments