Struct goblin::mach::relocation::RelocationInfo [−][src]
Fields
r_address: i32
Offset in the section to what is being relocated
r_info: u32
Contains all of the relocation info as a bitfield. r_symbolnum, 24 bits, r_pcrel 1 bit, r_length 2 bits, r_extern 1 bit, r_type 4 bits
Implementations
Symbol index if r_extern
== 1 or section ordinal if r_extern
== 0. In bits :24
The length of the relocation, 0=byte, 1=word, 2=long, 3=quad, 2 bits
If true, this relocation is for a symbol; if false, or a section ordinal otherwise
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for RelocationInfo
impl Send for RelocationInfo
impl Sync for RelocationInfo
impl Unpin for RelocationInfo
impl UnwindSafe for RelocationInfo
Blanket Implementations
Mutably borrows from an owned value. Read more