pub enum ArmRelocationType {
ThmCall = 10,
Call = 28,
Jump24 = 29,
Abs32 = 2,
MovwAbsNc = 43,
MovtAbs = 44,
}Expand description
ARM relocation type
Variants§
ThmCall = 10
R_ARM_THM_CALL (10) — Thumb BL/BLX instruction (Cortex-M). This is the
correct relocation for a Thumb-2 bl call site; Call/R_ARM_CALL below
is the ARM-mode form and is mis-resolved by ld for Thumb calls.
Call = 28
R_ARM_CALL (28) — BL/BLX instruction
Jump24 = 29
R_ARM_JUMP24 (29) — B/BL
Abs32 = 2
R_ARM_ABS32 (2) — Direct 32-bit reference
MovwAbsNc = 43
R_ARM_MOVW_ABS_NC (43) — MOVW instruction (low 16 bits)
MovtAbs = 44
R_ARM_MOVT_ABS (44) — MOVT instruction (high 16 bits)
Trait Implementations§
Source§impl Clone for ArmRelocationType
impl Clone for ArmRelocationType
Source§fn clone(&self) -> ArmRelocationType
fn clone(&self) -> ArmRelocationType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ArmRelocationType
impl Debug for ArmRelocationType
Source§impl PartialEq for ArmRelocationType
impl PartialEq for ArmRelocationType
Source§fn eq(&self, other: &ArmRelocationType) -> bool
fn eq(&self, other: &ArmRelocationType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ArmRelocationType
impl Eq for ArmRelocationType
impl StructuralPartialEq for ArmRelocationType
Auto Trait Implementations§
impl Freeze for ArmRelocationType
impl RefUnwindSafe for ArmRelocationType
impl Send for ArmRelocationType
impl Sync for ArmRelocationType
impl Unpin for ArmRelocationType
impl UnsafeUnpin for ArmRelocationType
impl UnwindSafe for ArmRelocationType
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.