misc(ld.so): minor cleanup

Signed-off-by: Anhad Singh <andypython@protonmail.com>
This commit is contained in:
Anhad Singh
2026-02-16 22:51:14 +11:00
parent 0c3f88f462
commit f5ebd7882d
+9
View File
@@ -293,6 +293,15 @@ pub unsafe extern "C" fn relibc_ld_so_start(
}
}
stage2(sp, self_base, is_manual, base_addr)
}
fn stage2(
sp: &'static mut Stack,
self_base: usize,
is_manual: bool,
base_addr: Option<usize>,
) -> usize {
// Setup TCB for ourselves.
unsafe {
#[cfg(target_os = "redox")]