pub struct Crel {
pub r_offset: u64,
pub r_sym: u32,
pub r_type: u32,
pub r_addend: i64,
}
Expand description
Compact relocation
The specification has been submited here: https://groups.google.com/g/generic-abi/c/ppkaxtLb0P0/m/awgqZ_1CBAAJ.
Fields§
§r_offset: u64
Relocation offset.
r_sym: u32
Relocation symbol index.
r_type: u32
Relocation type.
r_addend: i64
Relocation addend.
Only set if CrelIterator::is_rela()
returns true
.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Crel
impl RefUnwindSafe for Crel
impl Send for Crel
impl Sync for Crel
impl Unpin for Crel
impl UnwindSafe for Crel
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
Mutably borrows from an owned value. Read more