pub struct Reloc {
pub at: usize,
pub symbol: String,
pub kind: Reference,
pub addend: i64,
}Expand description
One reference to something this file does not contain.
Fields§
§at: usizeWhere the bytes the linker writes over begin.
symbol: StringWhat is wanted, as the C program spelled it.
kind: ReferenceWhat the linker is being asked for.
addend: i64What to add to the distance, which is the constant the instruction already meant plus the bytes between the hole and the end of the instruction, negated. An instruction counts from where it ends and a relocation counts from where it starts, and this is the difference.
Trait Implementations§
impl Eq for Reloc
impl StructuralPartialEq for Reloc
Auto Trait Implementations§
impl Freeze for Reloc
impl RefUnwindSafe for Reloc
impl Send for Reloc
impl Sync for Reloc
impl Unpin for Reloc
impl UnsafeUnpin for Reloc
impl UnwindSafe for Reloc
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.