pub enum Held {
In {
part: usize,
offset: u64,
},
Absolute(u64),
Common {
size: u64,
align: u64,
},
Undefined,
}Expand description
Where a name is, which is four different things and not an offset with special cases.
Variants§
In
At an offset into one of the sections, which is what a label is.
Fields
Absolute(u64)
A number rather than a place, which is what .set and .equ produce. The linker resolves
a reference to one to the number itself and there is nothing for it to be relative to.
Common
That much zeroed space asked of the linker under this name, which is .comm and .lcomm.
Every definition of the name across every object is merged into one.
Fields
Undefined
Named and not defined here, which the linker has to find somewhere else.
Trait Implementations§
impl Copy for Held
impl Eq for Held
impl StructuralPartialEq for Held
Auto Trait Implementations§
impl Freeze for Held
impl RefUnwindSafe for Held
impl Send for Held
impl Sync for Held
impl Unpin for Held
impl UnsafeUnpin for Held
impl UnwindSafe for Held
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.