@@ -0,0 +1,7 @@
+sys_includes = []
+include_guard = "_DL_TLS_H"
+language = "C"
+style = "Tag"
+
+[enum]
+prefix_with_name = true
@@ -0,0 +1,15 @@
+//! 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;
pub mod ctype;
pub mod dirent;
pub mod dlfcn;
+#[path = "dl-tls/mod.rs"]
+pub mod dl_tls;
pub mod errno;
pub mod fcntl;
pub mod float;