Commit graph

293 commits

Author SHA1 Message Date
Folkert
476521e7b7
use struct initialization syntax 2022-08-27 23:23:08 +02:00
Folkert
57c12b009b
find the undefined symbols 2022-08-27 12:21:49 +02:00
Folkert
0238471241
add a test for extracting symbols from a dynhost 2022-08-27 12:19:06 +02:00
Folkert
c4d25e0180
extract symbol collecting logic 2022-08-27 12:17:29 +02:00
Folkert de Vries
a8b83cfe37
Merge pull request #3858 from roc-lang/surgical-generate-dylib
Surgical generate dylib
2022-08-25 09:03:52 +02:00
Folkert
87988a301b
cleanup 2022-08-24 12:34:08 +02:00
Folkert
0a2ffc8ba4
rename 2022-08-23 21:20:44 +02:00
Folkert
e609919f39
cleanup 2022-08-23 21:20:23 +02:00
Folkert
daee025ff6
more hardcoding 2022-08-23 21:15:32 +02:00
Folkert
df77b8bac1
simplify reserving of alloc sections 2022-08-23 16:09:25 +02:00
Folkert
3431182ac9
simplify dynamic section hack 2022-08-23 15:37:12 +02:00
Folkert
9cef677674
refactor 2022-08-23 15:35:44 +02:00
Folkert
d3db9a0fef
more hardcoding 2022-08-23 15:32:47 +02:00
Folkert
0fb137cc93
hardcode the dynamic section content 2022-08-23 15:14:42 +02:00
Folkert
164265f315
strip hash some more 2022-08-23 14:48:13 +02:00
Folkert
9b2a43639b
unroll a loop 2022-08-23 14:34:26 +02:00
Folkert
d7499ce928
hardcode some hash table properties 2022-08-23 14:17:30 +02:00
Folkert
fd5e9a9b48
stop sorting symbols before hashing 2022-08-23 14:12:06 +02:00
Folkert
597b4752dc
rename MySection -> Section 2022-08-23 14:05:57 +02:00
Folkert
f4a388ce90
cleanup 2022-08-23 14:02:19 +02:00
Folkert
fcead21c17
remove .ehframe section from the dylib 2022-08-23 14:00:54 +02:00
Folkert
a7ab08b2ba
cleanup 2022-08-21 21:10:40 +02:00
Folkert
88c8ee6c93
use our section iterator instead of in_sections 2022-08-21 21:06:30 +02:00
Folkert
4e9bff9eb6
don't add our symbols to the eh_frame section; it's not needed 2022-08-21 20:41:31 +02:00
Folkert
f3f6f58d09
clippy fixes 2022-08-21 16:43:57 +02:00
Folkert
5261005096
more cleanup 2022-08-21 15:50:12 +02:00
Folkert
5035d022e0
cleanup 2022-08-21 15:36:48 +02:00
Folkert
0005635899
refactor section reserving 2022-08-21 15:30:46 +02:00
Folkert
729e556534
fake it well enough that cli tests all pass 2022-08-21 15:19:39 +02:00
Folkert
08e4abbf0a
reorder section writing to be correct 2022-08-21 14:21:02 +02:00
Folkert
9efa02c569
add more sections 2022-08-20 21:18:08 +02:00
Folkert
51a187c717
cleanup 2022-08-20 17:18:21 +02:00
Folkert
207e65bfa3
able to link hello world 2022-08-20 17:16:58 +02:00
Folkert
17e9866a5f
strip out what we don't need 2022-08-20 15:07:16 +02:00
Folkert
0a2d976d50
store just the sections that we actually want 2022-08-18 22:32:38 +02:00
Folkert
61ae913972
attempt at generating the dylib without an external linker 2022-08-17 23:40:19 +02:00
Anton-4
72e60bceea
valgrind fix for newer intel processors 2022-08-12 12:06:31 +02:00
Richard Feldman
c6eff66f4b
Merge remote-tracking branch 'origin/trunk' into use-instant-over-system-time 2022-07-22 21:01:09 -04:00
Folkert
da6a6dcf1c
shorten file lifetime, maybe that helps? 2022-07-22 15:23:36 +02:00
Christoph Rüßler
c4f141b735 Use Instant over SystemTime to record timings
Closes #3575.
2022-07-22 10:03:47 +02:00
Brendan Hansknecht
298d0b2b31
typos 2022-07-05 21:28:08 -07:00
Brendan Hansknecht
42de78213b
port all macho linker work to trunk and make it mergable 2022-07-05 21:11:35 -07:00
Anton-4
eee85fa45d
moved all crates into seperate folder + related path fixes 2022-07-01 17:37:43 +02:00