Commit Graph

29 Commits

Author SHA1 Message Date
K. Lange
c13c241c3b ld.so: Ignore DTPMOD, DTPOFF rather than bailing 2022-03-21 09:34:46 +09:00
K. Lange
2c1f2b942d x86_64: Put TLS data after the self-pointer, like we started doing in aarch64 2022-02-01 07:55:11 +09:00
K. Lange
bbd9bc7b5c aarch64: fixup linker TLS bindings 2022-02-01 06:54:00 +09:00
K. Lange
f0d7ed7743 aarch64: fixup clone(), add mmu_free(), cache stuff for ld.so 2022-01-31 21:08:11 +09:00
K. Lange
b53a56fe72 aarch64: begin work on new target 2022-01-30 21:25:27 +09:00
K. Lange
7d29744f98 ld.so: Use a much bigger hash size and cc1 loads a lot faster 2021-11-30 22:26:40 +09:00
K. Lange
59e0c80b3c ld.so: Expose some internal data for use by debugger 2021-09-24 00:13:04 +09:00
K. Lange
6fd05ef013 ld.so: Set values in dynamic symbol tables when linking 2021-09-24 00:12:04 +09:00
K. Lange
0b3aef22f4 ld.so: Stop leaking low heap to init functions 2021-07-06 16:56:19 +09:00
K. Lange
b35f7ac8c9 misaka: initial merge 2021-05-31 10:54:11 +09:00
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
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