Folkert
|
aae2dbf17c
|
remove test we don't need any more
|
2022-09-23 18:29:27 +02:00 |
|
Folkert
|
d871e2a14f
|
add the -rdynamic flag
|
2022-09-23 14:52:52 +02:00 |
|
Folkert
|
8811123811
|
add .exe extension when target is windows
|
2022-09-23 14:52:52 +02:00 |
|
Folkert
|
8634f284b5
|
call host functions from the app
|
2022-09-23 14:52:51 +02:00 |
|
Folkert
|
78e1328064
|
remove magic constant
|
2022-09-23 14:52:51 +02:00 |
|
Folkert
|
eca17a493f
|
Revert "some work on a .dll import section; immediately revert"
This reverts commit f151044afc .
|
2022-09-23 14:52:51 +02:00 |
|
Folkert
|
e5a2726daf
|
some work on a .dll import section; immediately revert
|
2022-09-23 14:52:50 +02:00 |
|
Folkert
|
438bc0e602
|
use the -rdynamic flag to have zig produce an export section for the host
|
2022-09-23 14:52:50 +02:00 |
|
Folkert
|
fd5e0c9dda
|
missed some renames
|
2022-09-23 11:26:17 +02:00 |
|
Folkert
|
fae1d96474
|
more renames
|
2022-09-23 11:26:16 +02:00 |
|
Folkert
|
84b5a3479b
|
refactor (this is useful later for actual surgical linking
|
2022-09-23 11:26:16 +02:00 |
|
Folkert
|
b9b5dd32b2
|
rename some things
|
2022-09-23 11:26:16 +02:00 |
|
Folkert
|
3c5355aa2d
|
add comment
|
2022-09-23 11:26:16 +02:00 |
|
Folkert
|
87cdc6a9c7
|
refactor section header writing
|
2022-09-23 11:26:15 +02:00 |
|
Folkert
|
45d47e9ad5
|
add windows test
|
2022-09-23 11:26:15 +02:00 |
|
Folkert
|
0eafaaf977
|
cleanup
|
2022-09-23 11:26:15 +02:00 |
|
Folkert
|
63303844dd
|
support multiple symbols (from the same section)
|
2022-09-23 11:26:14 +02:00 |
|
Folkert
|
2a5d22739d
|
support multiple text and rdata sections
|
2022-09-23 11:26:14 +02:00 |
|
Folkert
|
cc0ee8c2fd
|
use an exported constant in the host
|
2022-09-23 11:26:14 +02:00 |
|
Folkert
|
8a6a126c19
|
copy in the app's .rdata section
|
2022-09-23 11:26:13 +02:00 |
|
Folkert
|
e2f799b6e0
|
fold experimental stuff into old test
|
2022-09-23 11:26:13 +02:00 |
|
Folkert
|
0f7c8c37bf
|
more cleanup
|
2022-09-23 11:26:13 +02:00 |
|
Folkert
|
9777ae64a5
|
slowly cleaning up
|
2022-09-23 11:26:12 +02:00 |
|
Folkert
|
3229a10764
|
actually append the app bytes into the new section
|
2022-09-23 11:26:12 +02:00 |
|
Folkert
|
d5cd4776c0
|
using the mmap
|
2022-09-23 11:26:12 +02:00 |
|
Folkert
|
004a9895fa
|
empty second text section
|
2022-09-23 11:26:11 +02:00 |
|
Folkert
|
59b4699668
|
extra .text section created
|
2022-09-23 11:26:11 +02:00 |
|
Folkert
|
dbc5f9e3e7
|
get rid of a copy of the data
|
2022-09-23 00:25:20 +02:00 |
|
Folkert
|
c9c08a28ec
|
cleanup
|
2022-09-23 00:16:31 +02:00 |
|
Folkert
|
79337f1333
|
move more into the dynhost
|
2022-09-23 00:15:54 +02:00 |
|
Folkert
|
8f7497acb7
|
write import directory size in the dynhost, not the executable
|
2022-09-23 00:13:11 +02:00 |
|
Folkert
|
32dab538ea
|
refactor
|
2022-09-23 00:07:28 +02:00 |
|
Folkert
|
2631970851
|
use mmap
|
2022-09-23 00:06:57 +02:00 |
|
Folkert
|
56bf57dab1
|
improve calculation of section index
|
2022-09-23 00:04:57 +02:00 |
|
Folkert
|
1c8b717af4
|
Revert "move the erasing of the .dll information to the precompiled host"
This reverts commit ba8baae0dc .
|
2022-09-22 23:51:52 +02:00 |
|
Folkert
|
ba8baae0dc
|
move the erasing of the .dll information to the precompiled host
|
2022-09-22 23:45:17 +02:00 |
|
Folkert
|
5b9e152248
|
use cached dynamic_relocations
|
2022-09-22 21:58:54 +02:00 |
|
Folkert
|
1ebcf25fc0
|
cleanup
|
2022-09-22 21:56:40 +02:00 |
|
Folkert
|
9bbe0e029f
|
refactor
|
2022-09-22 21:55:31 +02:00 |
|
Folkert
|
540d3c29f9
|
enable the windows surgical linker, for now
|
2022-09-22 21:53:48 +02:00 |
|
Folkert
|
1c95fd3761
|
a functional windows surgical linker
|
2022-09-22 21:28:27 +02:00 |
|
Folkert
|
466b5d78cb
|
linking of a very simple roc program
|
2022-09-22 00:32:36 +02:00 |
|
Folkert
|
e88b61734c
|
add .exe extension when target is windows
|
2022-09-21 18:11:59 +02:00 |
|
Folkert
|
05feeeb253
|
call host functions from the app
|
2022-09-21 17:42:08 +02:00 |
|
Folkert
|
7399dc8ae4
|
remove magic constant
|
2022-09-21 15:27:33 +02:00 |
|
Folkert
|
0cc75ae27c
|
Revert "some work on a .dll import section; immediately revert"
This reverts commit f151044afc .
|
2022-09-21 15:26:52 +02:00 |
|
Folkert
|
f151044afc
|
some work on a .dll import section; immediately revert
|
2022-09-21 15:26:44 +02:00 |
|
Folkert
|
fcc17f6b68
|
use the -rdynamic flag to have zig produce an export section for the host
|
2022-09-21 15:26:03 +02:00 |
|
Folkert
|
2d2fbfd987
|
add comment
|
2022-09-21 12:37:48 +02:00 |
|
Folkert
|
8f5b005f10
|
refactor section header writing
|
2022-09-21 12:32:43 +02:00 |
|