Skip to content
Snippets Groups Projects
Verified Commit d5eb1e27 authored by Jeremy Soller's avatar Jeremy Soller
Browse files

Add dl-tls.h, required for shared libraries

parent d9ec8b4a
No related branches found
No related tags found
No related merge requests found
Pipeline #3758 failed
sys_includes = []
include_guard = "_DL_TLS_H"
language = "C"
style = "Tag"
[enum]
prefix_with_name = true
//! dl-tls implementation for Redox
use platform::types::*;
#[repr(C)]
pub struct dl_tls_index {
pub ti_module: u64,
pub ti_offset: u64,
}
#[no_mangle]
pub extern "C" fn __tls_get_addr(ti: *mut dl_tls_index) -> *mut c_void {
//TODO: Figure out how to implement this
unimplemented!();
}
...@@ -5,6 +5,8 @@ pub mod assert; ...@@ -5,6 +5,8 @@ pub mod assert;
pub mod ctype; pub mod ctype;
pub mod dirent; pub mod dirent;
pub mod dlfcn; pub mod dlfcn;
#[path = "dl-tls/mod.rs"]
pub mod dl_tls;
pub mod errno; pub mod errno;
pub mod fcntl; pub mod fcntl;
pub mod float; pub mod float;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment