Struct RelocationInfo
struct RelocationInfo { ... }
Fields
r_address: u32offset in the section to what is being relocated
r_symbolnum: u32symbol index if r_extern == 1 or section ordinal if r_extern == 0
r_pcrel: boolwas relocated pc relative already
r_length: u80=byte, 1=word, 2=long, 3=quad
r_extern: booldoes not include value of sym referenced
r_type: u8if not 0, machine specific relocation type
Implementations
impl RelocationInfo
fn relocation<E: Endian>(self: Self, endian: E) -> Relocation<E>Combine the fields into a
Relocation.
impl Clone for RelocationInfo
fn clone(self: &Self) -> RelocationInfo
impl Copy for RelocationInfo
impl Debug for RelocationInfo
fn fmt(self: &Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Result
impl Freeze for RelocationInfo
impl RefUnwindSafe for RelocationInfo
impl Send for RelocationInfo
impl Sync for RelocationInfo
impl Unpin for RelocationInfo
impl UnwindSafe for RelocationInfo
impl<T> Any for RelocationInfo
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for RelocationInfo
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for RelocationInfo
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> CloneToUninit for RelocationInfo
unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)
impl<T> From for RelocationInfo
fn from(t: T) -> TReturns the argument unchanged.
impl<T> ToOwned for RelocationInfo
fn to_owned(self: &Self) -> Tfn clone_into(self: &Self, target: &mut T)
impl<T, U> Into for RelocationInfo
fn into(self: Self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom for RelocationInfo
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for RelocationInfo
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>