Skip to main content

ArchRelocationType

Enum ArchRelocationType 

Source
#[repr(u32)]
pub enum ArchRelocationType {
Show 40 variants R_ARM_NONE = 0, R_AARCH64_NONE = 256, R_AARCH64_ABS64 = 257, R_AARCH64_ABS32 = 258, R_AARCH64_ABS16 = 259, R_AARCH64_PREL64 = 260, R_AARCH64_PREL32 = 261, R_AARCH64_PREL16 = 262, R_AARCH64_MOVW_UABS_G0 = 263, R_AARCH64_MOVW_UABS_G0_NC = 264, R_AARCH64_MOVW_UABS_G1 = 265, R_AARCH64_MOVW_UABS_G1_NC = 266, R_AARCH64_MOVW_UABS_G2 = 267, R_AARCH64_MOVW_UABS_G2_NC = 268, R_AARCH64_MOVW_UABS_G3 = 269, R_AARCH64_MOVW_SABS_G0 = 270, R_AARCH64_MOVW_SABS_G1 = 271, R_AARCH64_MOVW_SABS_G2 = 272, R_AARCH64_LD_PREL_LO19 = 273, R_AARCH64_ADR_PREL_LO21 = 274, R_AARCH64_ADR_PREL_PG_HI21 = 275, R_AARCH64_ADR_PREL_PG_HI21_NC = 276, R_AARCH64_ADD_ABS_LO12_NC = 277, R_AARCH64_LDST8_ABS_LO12_NC = 278, R_AARCH64_TSTBR14 = 279, R_AARCH64_CONDBR19 = 280, R_AARCH64_JUMP26 = 282, R_AARCH64_CALL26 = 283, R_AARCH64_LDST16_ABS_LO12_NC = 284, R_AARCH64_LDST32_ABS_LO12_NC = 285, R_AARCH64_LDST64_ABS_LO12_NC = 286, R_AARCH64_LDST128_ABS_LO12_NC = 299, R_AARCH64_MOVW_PREL_G0 = 287, R_AARCH64_MOVW_PREL_G0_NC = 288, R_AARCH64_MOVW_PREL_G1 = 289, R_AARCH64_MOVW_PREL_G1_NC = 290, R_AARCH64_MOVW_PREL_G2 = 291, R_AARCH64_MOVW_PREL_G2_NC = 292, R_AARCH64_MOVW_PREL_G3 = 293, R_AARCH64_RELATIVE = 1_027,
}
Expand description

Variants§

§

R_ARM_NONE = 0

§

R_AARCH64_NONE = 256

§

R_AARCH64_ABS64 = 257

§

R_AARCH64_ABS32 = 258

§

R_AARCH64_ABS16 = 259

§

R_AARCH64_PREL64 = 260

§

R_AARCH64_PREL32 = 261

§

R_AARCH64_PREL16 = 262

§

R_AARCH64_MOVW_UABS_G0 = 263

§

R_AARCH64_MOVW_UABS_G0_NC = 264

§

R_AARCH64_MOVW_UABS_G1 = 265

§

R_AARCH64_MOVW_UABS_G1_NC = 266

§

R_AARCH64_MOVW_UABS_G2 = 267

§

R_AARCH64_MOVW_UABS_G2_NC = 268

§

R_AARCH64_MOVW_UABS_G3 = 269

§

R_AARCH64_MOVW_SABS_G0 = 270

§

R_AARCH64_MOVW_SABS_G1 = 271

§

R_AARCH64_MOVW_SABS_G2 = 272

§

R_AARCH64_LD_PREL_LO19 = 273

§

R_AARCH64_ADR_PREL_LO21 = 274

§

R_AARCH64_ADR_PREL_PG_HI21 = 275

§

R_AARCH64_ADR_PREL_PG_HI21_NC = 276

§

R_AARCH64_ADD_ABS_LO12_NC = 277

§

R_AARCH64_LDST8_ABS_LO12_NC = 278

§

R_AARCH64_TSTBR14 = 279

§

R_AARCH64_CONDBR19 = 280

§

R_AARCH64_JUMP26 = 282

§

R_AARCH64_CALL26 = 283

§

R_AARCH64_LDST16_ABS_LO12_NC = 284

§

R_AARCH64_LDST32_ABS_LO12_NC = 285

§

R_AARCH64_LDST64_ABS_LO12_NC = 286

§

R_AARCH64_LDST128_ABS_LO12_NC = 299

§

R_AARCH64_MOVW_PREL_G0 = 287

§

R_AARCH64_MOVW_PREL_G0_NC = 288

§

R_AARCH64_MOVW_PREL_G1 = 289

§

R_AARCH64_MOVW_PREL_G1_NC = 290

§

R_AARCH64_MOVW_PREL_G2 = 291

§

R_AARCH64_MOVW_PREL_G2_NC = 292

§

R_AARCH64_MOVW_PREL_G3 = 293

§

R_AARCH64_RELATIVE = 1_027

Trait Implementations§

Source§

impl Clone for ArchRelocationType

Source§

fn clone(&self) -> ArchRelocationType

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for ArchRelocationType

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl From<ArchRelocationType> for u32

Source§

fn from(v: ArchRelocationType) -> Self

Converts to this type from the input type.
Source§

impl PartialEq for ArchRelocationType

Source§

fn eq(&self, other: &ArchRelocationType) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl TryFrom<u32> for ArchRelocationType

Source§

type Error = u32

The type returned in the event of a conversion error.
Source§

fn try_from(v: u32) -> Result<Self, u32>

Performs the conversion.
Source§

impl Copy for ArchRelocationType

Source§

impl Eq for ArchRelocationType

Source§

impl StructuralPartialEq for ArchRelocationType

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.