Struct object::xcoff::AuxHeader64
source · #[repr(C)]pub struct AuxHeader64 {Show 32 fields
pub o_mflag: U16<BigEndian>,
pub o_vstamp: U16<BigEndian>,
pub o_debugger: U32<BigEndian>,
pub o_text_start: U64<BigEndian>,
pub o_data_start: U64<BigEndian>,
pub o_toc: U64<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_textpsize: u8,
pub o_datapsize: u8,
pub o_stackpsize: u8,
pub o_flags: u8,
pub o_tsize: U64<BigEndian>,
pub o_dsize: U64<BigEndian>,
pub o_bsize: U64<BigEndian>,
pub o_entry: U64<BigEndian>,
pub o_maxstack: U64<BigEndian>,
pub o_maxdata: U64<BigEndian>,
pub o_sntdata: U16<BigEndian>,
pub o_sntbss: U16<BigEndian>,
pub o_x64flags: U16<BigEndian>,
pub o_resv3a: U16<BigEndian>,
pub o_resv3: [U32<BigEndian>; 2],
}
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_debugger: U32<BigEndian>
Reserved for debuggers.
o_text_start: U64<BigEndian>
Base address of text (virtual address).
o_data_start: U64<BigEndian>
Base address of data (virtual address).
o_toc: U64<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_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_tsize: U64<BigEndian>
Text size in bytes.
o_dsize: U64<BigEndian>
Initialized data size in bytes.
o_bsize: U64<BigEndian>
Uninitialized data size in bytes.
o_entry: U64<BigEndian>
Entry point descriptor (virtual address).
o_maxstack: U64<BigEndian>
Maximum stack size allowed (bytes).
o_maxdata: U64<BigEndian>
Maximum data size allowed (bytes).
o_sntdata: U16<BigEndian>
Section number for .tdata.
o_sntbss: U16<BigEndian>
Section number for .tbss.
o_x64flags: U16<BigEndian>
XCOFF64 flags.
o_resv3a: U16<BigEndian>
Reserved.
o_resv3: [U32<BigEndian>; 2]
Reserved.
Trait Implementations§
source§impl AuxHeader for AuxHeader64
impl AuxHeader for AuxHeader64
type Word = u64
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 AuxHeader64
impl Clone for AuxHeader64
source§fn clone(&self) -> AuxHeader64
fn clone(&self) -> AuxHeader64
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AuxHeader64
impl Debug for AuxHeader64
impl Copy for AuxHeader64
impl Pod for AuxHeader64
Auto Trait Implementations§
impl Freeze for AuxHeader64
impl RefUnwindSafe for AuxHeader64
impl Send for AuxHeader64
impl Sync for AuxHeader64
impl Unpin for AuxHeader64
impl UnwindSafe for AuxHeader64
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)