049a5156d7
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
11 lines
178 B
Rust
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
|
|
}
|