Commit Graph

20 Commits

Author SHA1 Message Date
K. Lange 230870ad7b kernel, linker, libc: Initial, probably horribly broken, support for some TLS situations 2021-02-16 18:49:34 +09:00
K. Lange a5cf4fe540 linker: properly resolve dependencies that were missing at compile time 2020-05-01 13:34:54 +09:00
K. Lange 7953b1fbe9 linker: don't segfault when called directly 2020-01-03 18:38:35 +09:00
K. Lange ccb2f8b695 linker: close main object after loading 2019-12-15 15:51:13 +09:00
K. Lange 9d1d73a496 ld.so: ignore LD_LIBRARY_PATH on suid binaries 2019-06-25 20:46:57 +09:00
K. Lange 95b87270a8 linker: we don't use the section string table, so don't load it 2019-02-12 15:42:04 +09:00
K. Lange 2261a79b8b linker: hey let's load init_array from the dynamic table instead of looking for the section by name... 2019-02-07 21:25:25 +09:00
K. Lange e1e396f413 ld.so: more debug output 2019-01-02 21:40:27 +09:00
K. Lange 54e9044161 libc: add more toaru-specific syscall wrappers 2018-12-10 18:47:18 +09:00
K. Lange db1ada51c8 Handle NEEDED dep failures better in linker 2018-09-24 12:20:47 +09:00
K. Lange 46d4893036 Handoff malloc/free to libc functions in ld.so after loading object or heap may get weird 2018-09-22 19:15:19 +09:00
K. Lange fec9781c23 Linker README 2018-08-21 21:39:23 +09:00
K. Lange c4ad63ad74 cleanup linker 2018-08-14 15:40:32 +09:00
K. Lange 0f7ccdd903 Fix ordering and remove /opt/lib from default LD_LIBRARY_PATH 2018-08-14 14:04:10 +09:00
K. Lange 528a85a091 Remove redundant elf.h 2018-07-18 14:59:25 +09:00
K. Lange b42bec5b70 Make some fixes to libc and linker to allow environ to be set before initializers run 2018-05-08 17:03:04 +09:00
K. Lange 8e07883088 Enable and resolve several warnings 2018-04-25 14:03:29 +09:00
K. Lange 1355502e6c Reorganize headers 2018-03-19 11:38:11 +09:00
K. Lange 8cd1bd4b8a just gobs of stuff 2018-02-25 17:14:43 +09:00
K. Lange a1f60853ed init 2018-02-25 14:13:54 +09:00