Struct object::xcoff::AuxHeader32
source · #[repr(C)]pub struct AuxHeader32 {Show 29 fields
pub o_mflag: U16<BigEndian>,
pub o_vstamp: U16<BigEndian>,
pub o_tsize: U32<BigEndian>,
pub o_dsize: U32<BigEndian>,
pub o_bsize: U32<BigEndian>,
pub o_entry: U32<BigEndian>,
pub o_text_start: U32<BigEndian>,
pub o_data_start: U32<BigEndian>,
pub o_toc: U32<BigEndian>,
pub o_snentry: U16<BigEndian>,
pub o_sntext: U16<BigEndian>,
pub o_sndata: U16<BigEndian>,
pub o_sntoc: U16<BigEndian>,
pub o_snloader: U16<BigEndian>,
pub o_snbss: U16<BigEndian>,
pub o_algntext: U16<BigEndian>,
pub o_algndata: U16<BigEndian>,
pub o_modtype: U16<BigEndian>,
pub o_cpuflag: u8,
pub o_cputype: u8,
pub o_maxstack: U32<BigEndian>,
pub o_maxdata: U32<BigEndian>,
pub o_debugger: U32<BigEndian>,
pub o_textpsize: u8,
pub o_datapsize: u8,
pub o_stackpsize: u8,
pub o_flags: u8,
pub o_sntdata: U16<BigEndian>,
pub o_sntbss: U16<BigEndian>,
}
Expand description
The auxiliary header immediately following file header. If the value of the f_opthdr field in the file header is 0, the auxiliary header does not exist.
Fields§
§o_mflag: U16<BigEndian>
Flags.
o_vstamp: U16<BigEndian>
Version.
o_tsize: U32<BigEndian>
Text size in bytes.
o_dsize: U32<BigEndian>
Initialized data size in bytes.
o_bsize: U32<BigEndian>
Uninitialized data size in bytes.
o_entry: U32<BigEndian>
Entry point descriptor (virtual address).
o_text_start: U32<BigEndian>
Base address of text (virtual address).
o_data_start: U32<BigEndian>
Base address of data (virtual address).
o_toc: U32<BigEndian>
Address of TOC anchor.
o_snentry: U16<BigEndian>
Section number for entry point.
o_sntext: U16<BigEndian>
Section number for .text.
o_sndata: U16<BigEndian>
Section number for .data.
o_sntoc: U16<BigEndian>
Section number for TOC.
o_snloader: U16<BigEndian>
Section number for loader data.
o_snbss: U16<BigEndian>
Section number for .bss.
o_algntext: U16<BigEndian>
Maximum alignment for .text.
o_algndata: U16<BigEndian>
Maximum alignment for .data.
o_modtype: U16<BigEndian>
Module type field.
o_cpuflag: u8
Bit flags - cpu types of objects.
o_cputype: u8
Reserved for CPU type.
o_maxstack: U32<BigEndian>
Maximum stack size allowed (bytes).
o_maxdata: U32<BigEndian>
Maximum data size allowed (bytes).
o_debugger: U32<BigEndian>
Reserved for debuggers.
o_textpsize: u8
Requested text page size.
o_datapsize: u8
Requested data page size.
o_stackpsize: u8
Requested stack page size.
o_flags: u8
Flags and thread-local storage alignment.
o_sntdata: U16<BigEndian>
Section number for .tdata.
o_sntbss: U16<BigEndian>
Section number for .tbss.
Trait Implementations§
source§impl AuxHeader for AuxHeader32
impl AuxHeader for AuxHeader32
type Word = u32
fn o_mflag(&self) -> u16
fn o_vstamp(&self) -> u16
fn o_tsize(&self) -> Self::Word
fn o_dsize(&self) -> Self::Word
fn o_bsize(&self) -> Self::Word
fn o_entry(&self) -> Self::Word
fn o_text_start(&self) -> Self::Word
fn o_data_start(&self) -> Self::Word
fn o_toc(&self) -> Self::Word
fn o_snentry(&self) -> u16
fn o_sntext(&self) -> u16
fn o_sndata(&self) -> u16
fn o_sntoc(&self) -> u16
fn o_snloader(&self) -> u16
fn o_snbss(&self) -> u16
fn o_algntext(&self) -> u16
fn o_algndata(&self) -> u16
fn o_modtype(&self) -> u16
fn o_cpuflag(&self) -> u8
fn o_cputype(&self) -> u8
fn o_maxstack(&self) -> Self::Word
fn o_maxdata(&self) -> Self::Word
fn o_debugger(&self) -> u32
fn o_textpsize(&self) -> u8
fn o_datapsize(&self) -> u8
fn o_stackpsize(&self) -> u8
fn o_flags(&self) -> u8
fn o_sntdata(&self) -> u16
fn o_sntbss(&self) -> u16
fn o_x64flags(&self) -> Option<u16>
source§impl Clone for AuxHeader32
impl Clone for AuxHeader32
source§fn clone(&self) -> AuxHeader32
fn clone(&self) -> AuxHeader32
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more