rename RTLDState enum members
This commit is contained in:
+4
-4
@@ -5,11 +5,11 @@ use core::ptr;
|
||||
#[repr(C)]
|
||||
pub enum RTLDState {
|
||||
/// Mapping change is complete.
|
||||
RT_CONSISTENT,
|
||||
RtConsistent,
|
||||
/// Beginning to add a new object.
|
||||
RT_ADD,
|
||||
RtAdd,
|
||||
/// Beginning to remove an object mapping.
|
||||
RT_DELETE,
|
||||
RtDelete,
|
||||
}
|
||||
|
||||
/// Data structure for sharing debugging information from the
|
||||
@@ -41,7 +41,7 @@ impl RTLDDebug {
|
||||
r_version: 1,
|
||||
r_map: ptr::null_mut::<LinkMap>(),
|
||||
r_brk: _dl_debug_state,
|
||||
state: RTLDState::RT_CONSISTENT,
|
||||
state: RTLDState::RtConsistent,
|
||||
r_ldbase: 0,
|
||||
};
|
||||
|
||||
|
||||
+2
-2
@@ -625,7 +625,7 @@ impl Linker {
|
||||
Resolve::Now
|
||||
};
|
||||
|
||||
_r_debug.lock().state = RTLDState::RT_ADD;
|
||||
_r_debug.lock().state = RTLDState::RtAdd;
|
||||
_dl_debug_state();
|
||||
|
||||
let mut new_objects = Vec::new();
|
||||
@@ -758,7 +758,7 @@ impl Linker {
|
||||
self.register_object(obj);
|
||||
}
|
||||
|
||||
_r_debug.lock().state = RTLDState::RT_CONSISTENT;
|
||||
_r_debug.lock().state = RTLDState::RtConsistent;
|
||||
_dl_debug_state();
|
||||
|
||||
Ok(loaded_dso)
|
||||
|
||||
Reference in New Issue
Block a user