Userspace fexec
- Jul 27, 2022
-
-
Jacob Lorentzon authored
-
- Jul 26, 2022
-
-
Jacob Lorentzon authored
-
Jacob Lorentzon authored
-
Jacob Lorentzon authored
-
Jacob Lorentzon authored
-
Jacob Lorentzon authored
-
Jacob Lorentzon authored
-
Jacob Lorentzon authored
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
-
Jacob Lorentzon authored
-
Jacob Lorentzon authored
-
Jacob Lorentzon authored
-
Jacob Lorentzon authored
-
Jacob Lorentzon authored
The #[global_allocator] used by relibc is only relibc's business. Symbols should therefore not leak if another applications for example wants to override the system allocator (and for bootstrap, which links to relibc but uses its own #[global_allocator] based on libc functions).
-
Jacob Lorentzon authored
-
Jacob Lorentzon authored
-
Jacob Lorentzon authored
-
Jacob Lorentzon authored
-
Jacob Lorentzon authored
-
Jacob Lorentzon authored
-
Jacob Lorentzon authored
-
Jacob Lorentzon authored
-
Jacob Lorentzon authored
Rust's libstd for example uses environ when using the `envs` builder method for spawning processes, and therefore relibc cannot simply assume environ will always point to the internal relibc env var Vec.
-
Jacob Lorentzon authored
-