Files
RedBear-OS/src/header/sys_auxv/mod.rs
T
4lDO2 049a5156d7 Implement PT_INTERP, and thus dynamic linking.
With this change, gcc can now successfully compile a tiny program that
printfs an integer returned from a function, from a dynamically linked
library that it compiled as well.

Rustc however, is orders of magnitude more complex, and the next step is
to fix constructors which require access to `environ`, in ld.so
2022-07-26 21:34:48 +02:00

11 lines
178 B
Rust

//! sys/auxv.h implementation
use crate::platform::types::*;
pub use crate::platform::auxv_defs::*;
#[no_mangle]
pub extern "C" fn getauxval(_t: c_ulong) -> c_ulong {
0
}