- Sep 30, 2020
-
-
8tab authored
-
Jeremy Soller authored
Add tests for ld_so See merge request redox-os/relibc!314
-
- Sep 29, 2020
- Sep 28, 2020
-
-
8tab authored
Typically it's the other way around, but we can't have shared library named libc.so.6 in target/release directory. cargo includes 'target/release' in LD_LIBRARY_PATH for build script, so even if clean build runs fine, every subsquent run will make build script link with relibc.
-
- Sep 17, 2020
-
-
Jeremy Soller authored
Catch UB in asctime_r() See merge request redox-os/relibc!312
-
Peter Limkilde Svendsen authored
-
Peter Limkilde Svendsen authored
-
Peter Limkilde Svendsen authored
-
Peter Limkilde Svendsen authored
-
- Sep 10, 2020
-
-
Jeremy Soller authored
-
- Sep 08, 2020
-
-
Jeremy Soller authored
Refactor gmtime_r(), fix localtime() test See merge request redox-os/relibc!309
-
Jeremy Soller authored
Add more gmtime() tests See merge request !308
-
-
Jeremy Soller authored
Avoid assuming c_char is i8 in asctime() See merge request !307
-
Jeremy Soller authored
Add needed include for asprintf() test See merge request !306
-
- Sep 06, 2020
-
-
Jeremy Soller authored
link: Weaken __rust_probestack symbol See merge request !310
-
Skallwar authored
-
- Aug 27, 2020
-
-
Peter Limkilde Svendsen authored
-
Peter Limkilde Svendsen authored
-
Peter Limkilde Svendsen authored
-
Peter Limkilde Svendsen authored
-
- Aug 25, 2020
-
-
Jeremy Soller authored
-
- Aug 23, 2020
-
-
Peter Limkilde Svendsen authored
-
- Aug 22, 2020
-
-
Jeremy Soller authored
-
- Aug 20, 2020
-
-
Peter Limkilde Svendsen authored
-
- Aug 17, 2020
-
-
Jeremy Soller authored
Use renamed fmap call See merge request redox-os/relibc!305
-
Jeremy Soller authored
Emulate brk See merge request !304
-
jD91mZM2 authored
-
- Aug 15, 2020
-
-
jD91mZM2 authored
-
- Aug 14, 2020
-
-
Jeremy Soller authored
Gcc compile See merge request !303
-
- Aug 12, 2020
-
-
Ahmed Abd El Mawgood authored
It seams that stdout of ld.so is not that much of an issue but actually it unfortunately is. The major problem here is that sometimes programs generate header files in stdout (./getmy_custom_headers > header.h) and we need to keep that cleen. and this is very very popular in gcc.
-
Ahmed Abd El Mawgood authored
This patch avoids collecting symbols, resolving relocs if they are already done (usually for example libc.so during a dlopen for another libfoo.so). This patch is purely for performance boost.
-
Ahmed Abd El Mawgood authored
It is usually not optimal to load a library twice and for specifics, it is **terrible** idea to load libc twice it was enough trouble dealing with libc statically linked into ld.so. So What this patch does it check for soname and if a library is already loaded it won't get loaded again. Why soname ? because unfortunately some bins gets linked againt libc.so while of their dependencies gets linked against libc.so.6 while one is usually symbolic link for the other.
-
Ahmed Abd El Mawgood authored
Usually it is possible to refer to library either by the file name or by elf "soname" soname is very similar for specifying something like (LIB/API version) combination so if for example you have ./prog that loads libx.so which is version 5.1.1 and there is ./plugin.so that ./prog would load that requires libx.so version 5.1.2 both libx.so should have the same soname to hint that they offer the exact same functionality. And this patch specifies the soname for relibc libc.so.
-
Honestly, I have no idea why are these modifications needed, but it seams they are needed
-