pub enum RelocKind {
ThmCall,
MovwAbs,
MovtAbs,
}Expand description
A relocation entry produced during compilation
Records that a BL instruction at offset bytes into the function’s code
targets an external symbol (e.g., __meld_dispatch_import). The linker
resolves these when combining the Synth object with the Kiln bridge.
Variants§
ThmCall
R_ARM_THM_CALL — a Thumb BL call site (the default; #167).
MovwAbs
R_ARM_MOVW_ABS_NC — the MOVW half of a symbol-relative address (#237).
MovtAbs
R_ARM_MOVT_ABS — the MOVT half of a symbol-relative address (#237).
Trait Implementations§
impl Copy for RelocKind
impl Eq for RelocKind
impl StructuralPartialEq for RelocKind
Auto Trait Implementations§
impl Freeze for RelocKind
impl RefUnwindSafe for RelocKind
impl Send for RelocKind
impl Sync for RelocKind
impl Unpin for RelocKind
impl UnsafeUnpin for RelocKind
impl UnwindSafe for RelocKind
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.