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

source§

type Word = u64

source§

fn o_mflag(&self) -> u16

source§

fn o_vstamp(&self) -> u16

source§

fn o_tsize(&self) -> Self::Word

source§

fn o_dsize(&self) -> Self::Word

source§

fn o_bsize(&self) -> Self::Word

source§

fn o_entry(&self) -> Self::Word

source§

fn o_text_start(&self) -> Self::Word

source§

fn o_data_start(&self) -> Self::Word

source§

fn o_toc(&self) -> Self::Word

source§

fn o_snentry(&self) -> u16

source§

fn o_sntext(&self) -> u16

source§

fn o_sndata(&self) -> u16

source§

fn o_sntoc(&self) -> u16

source§

fn o_snloader(&self) -> u16

source§

fn o_snbss(&self) -> u16

source§

fn o_algntext(&self) -> u16

source§

fn o_algndata(&self) -> u16

source§

fn o_modtype(&self) -> u16

source§

fn o_cpuflag(&self) -> u8

source§

fn o_cputype(&self) -> u8

source§

fn o_maxstack(&self) -> Self::Word

source§

fn o_maxdata(&self) -> Self::Word

source§

fn o_debugger(&self) -> u32

source§

fn o_textpsize(&self) -> u8

source§

fn o_datapsize(&self) -> u8

source§

fn o_stackpsize(&self) -> u8

source§

fn o_flags(&self) -> u8

source§

fn o_sntdata(&self) -> u16

source§

fn o_sntbss(&self) -> u16

source§

fn o_x64flags(&self) -> Option<u16>

source§

impl Clone for AuxHeader64

source§

fn clone(&self) -> AuxHeader64

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for AuxHeader64

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Copy for AuxHeader64

source§

impl Pod for AuxHeader64

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.