#[repr(C)]pub struct Rela64<E: Endian> {
pub r_offset: U64<E>,
pub r_info: U64<E>,
pub r_addend: I64<E>,
}
Expand description
Relocation table entry with explicit addend.
Fields
r_offset: U64<E>
Relocation address.
r_info: U64<E>
Relocation type and symbol index.
r_addend: I64<E>
Explicit addend.
Implementations
Get the r_sym
component of the r_info
field.
Get the r_type
component of the r_info
field.
Calculate the r_info
field given the r_sym
and r_type
components.
Set the r_info
field given the r_sym
and r_type
components.
Trait Implementations
Auto Trait Implementations
impl<E> RefUnwindSafe for Rela64<E> where
E: RefUnwindSafe,
impl<E> UnwindSafe for Rela64<E> where
E: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more