Jeremy Soller
36eb561128
Format
2019-12-18 20:01:48 -07:00
Jeremy Soller
086c8f6702
Allow running linker more than once
2019-12-17 21:35:47 -07:00
Jeremy Soller
0a06388d2a
Store globals and mappings on Linker struct
2019-12-16 21:27:42 -07:00
Jeremy Soller
b882ce527d
Fix allocation of TLS masters if main image does not require TLS
2019-12-15 11:19:37 -07:00
Jeremy Soller
4818ad61ab
Always zero mmap'd memory
2019-12-15 07:46:59 -07:00
Jeremy Soller
886f859bb9
Clear FPU registers before jumping to loaded program
2019-12-15 07:46:49 -07:00
Jeremy Soller
fe3607d4e8
ld_so: Zero mapped memory and panic on unsupported relocation
2019-12-06 19:54:54 -07:00
Jeremy Soller
8ba70792e9
Implement DTPOFF64
2019-12-01 13:47:06 -07:00
Jeremy Soller
d1d45ff00d
Merge branch 'warning' into 'master'
...
Fix few warnings
See merge request redox-os/relibc!236
2019-09-15 19:31:08 +00:00
jD91mZM2
b8c50c7c64
Format
2019-08-04 19:05:45 +02:00
jD91mZM2
c7d499d4f2
Upgrade to the 2018 edition
...
I didn't think it'd be this useful first, but thank god for `cargo fix --edition`!
2019-08-04 19:05:45 +02:00
Mateusz Mikuła
9aac2672e3
Fix few warnings
2019-07-18 15:27:05 +02:00
Jeremy Soller
05f71567ab
Format
2019-07-06 19:37:13 -06:00
Mateusz Mikuła
6742e41948
Clippy fixes
2019-07-04 14:47:08 +00:00
Jeremy Soller
6a069d1d9e
Add static TLS init on Linux
2019-06-30 21:31:57 -06:00
Jeremy Soller
2a68c68dc6
Use the same Stack struct for ld_so start as for relibc start
2019-06-30 21:31:31 -06:00
Mateusz Mikuła
7597c082e7
Fix Clippy warnings
2019-05-11 22:34:13 +02:00
Jeremy Soller
7bde036031
Remove va_list submodule, format
2019-04-21 15:45:55 -06:00
Jeremy Soller
b2cc25dd38
Fix missing import
2019-04-21 15:28:19 -06:00
jD91mZM2
6d4ac9dba8
Finally, get rid of all rust warnings
...
Just a small step along the way to reduce the massive wall of spam
every time you compile.
This was done partly automagically with `cargo fix`. The rest was me
deleting or commenting out a bunch of variables. Hope nothing was
important...
2019-04-21 21:12:16 +02:00
Jeremy Soller
83f89912e0
Do not copy kernel-allocated TLS
2019-04-20 10:36:18 -06:00
Jeremy Soller
30aef27c76
Correctly set up TLS on Redox and other fixes for pthread_clone
2019-04-14 19:08:58 -06:00
Jeremy Soller
7fe0beb916
Add DTPMOD64
2019-04-14 13:21:07 -06:00
Jeremy Soller
5a005864a8
Fix compilation on redox
2019-04-14 13:18:57 -06:00
Jeremy Soller
361f32b63c
ld_so: significant refactor to prepare for pthread_create support of TLS
2019-04-14 13:17:07 -06:00
Jeremy Soller
9f5e5f24dc
Correctly set tcb pointer to the end of TLS
2019-04-14 10:44:25 -06:00
Jeremy Soller
47baf499bf
Fix TLS offsets
2019-04-14 08:40:03 -06:00
Jeremy Soller
b2cc8f6d26
Fix compilation on Redox
2019-04-13 21:32:51 -06:00
Jeremy Soller
ba50c94c3f
Improve TLS support
2019-04-13 21:15:01 -06:00
Jeremy Soller
63cb2f3454
ld.so: Add auxv support, get ld_library_path from env
2019-04-13 21:14:52 -06:00
Jeremy Soller
084b69b361
Add ld_so executable
2019-04-13 12:17:38 -06:00