pub enum X86_64RelocType {
Unsigned = 0,
Signed = 1,
Branch = 2,
GotLoad = 3,
Got = 4,
Subtractor = 5,
Signed1 = 6,
Signed2 = 7,
Signed4 = 8,
Tlv = 9,
}Variants§
Unsigned = 0
Absolute address
Signed = 1
Signed 32-bit displacement
Branch = 2
A CALL/JMP instruction with 32-bit displacement
GotLoad = 3
A MOVQ load of a GOT entry
Got = 4
Other GOT references
Subtractor = 5
Must be followed by a X86_64RelocType::Unsigned relocation
Signed1 = 6
for signed 32-bit displacement with a -1 addend
Signed2 = 7
for signed 32-bit displacement with a -2 addend
Signed4 = 8
for signed 32-bit displacement with a -4 addend
Tlv = 9
for thread local variables
Implementations§
Trait Implementations§
Source§impl Clone for X86_64RelocType
impl Clone for X86_64RelocType
Source§fn clone(&self) -> X86_64RelocType
fn clone(&self) -> X86_64RelocType
Returns a duplicate of the value. Read more
1.0.0 · 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 X86_64RelocType
impl Debug for X86_64RelocType
Source§impl PartialEq for X86_64RelocType
impl PartialEq for X86_64RelocType
impl Copy for X86_64RelocType
impl Eq for X86_64RelocType
impl StructuralPartialEq for X86_64RelocType
Auto Trait Implementations§
impl Freeze for X86_64RelocType
impl RefUnwindSafe for X86_64RelocType
impl Send for X86_64RelocType
impl Sync for X86_64RelocType
impl Unpin for X86_64RelocType
impl UnwindSafe for X86_64RelocType
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