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 |
|
Folkert
|
20cd50f712
|
add windows test
|
2022-09-20 23:56:52 +02:00 |
|
Folkert
|
841a553839
|
cleanup
|
2022-09-20 23:56:19 +02:00 |
|
Folkert
|
a3fc426752
|
support multiple symbols (from the same section)
|
2022-09-20 23:51:03 +02:00 |
|
Folkert
|
42f725bb51
|
support multiple text and rdata sections
|
2022-09-20 21:00:31 +02:00 |
|
Folkert
|
ec0ac1cf55
|
use an exported constant in the host
|
2022-09-20 20:11:44 +02:00 |
|
Folkert
|
66a83a9705
|
copy in the app's .rdata section
|
2022-09-19 18:08:17 +02:00 |
|
Folkert
|
631a1b6302
|
fold experimental stuff into old test
|
2022-09-19 15:23:47 +02:00 |
|
Folkert
|
3cd2bf6ad4
|
more cleanup
|
2022-09-19 15:21:34 +02:00 |
|
Folkert
|
3ca3aae549
|
slowly cleaning up
|
2022-09-19 15:08:47 +02:00 |
|
Folkert
|
05aba03b87
|
actually append the app bytes into the new section
|
2022-09-19 12:50:02 +02:00 |
|
Folkert
|
322091353e
|
using the mmap
|
2022-09-19 12:03:02 +02:00 |
|
Folkert
|
4c8475fb74
|
empty second text section
|
2022-09-19 11:59:45 +02:00 |
|
Folkert
|
28fb72cca3
|
extra .text section created
|
2022-09-19 11:54:45 +02:00 |
|
Folkert
|
2b0ec6c227
|
help the type checker
|
2022-09-19 11:36:47 +02:00 |
|
Folkert
|
b881af47cb
|
first surgical link on PEs
|
2022-09-19 10:43:37 +02:00 |
|
Folkert
|
841c478b98
|
update the length of imports in the data directory after removing our dummy dll
|
2022-09-18 17:23:50 +02:00 |
|
Folkert
|
6005ed0664
|
add test that combines a zig platform with a dll
|
2022-09-18 14:11:46 +02:00 |
|
Folkert
|
61366f0d43
|
add test for preprocessing on a zig host
|
2022-09-18 13:42:21 +02:00 |
|
Folkert
|
daa7e72a2f
|
clarify comment
|
2022-09-18 01:00:36 +02:00 |
|
Folkert
|
270949aa07
|
Revert "add test for preprocessing on a zig host"
This reverts commit 5ee12aeb7d .
|
2022-09-18 00:58:34 +02:00 |
|
Folkert
|
5ee12aeb7d
|
add test for preprocessing on a zig host
|
2022-09-18 00:58:27 +02:00 |
|
Folkert
|
4f51f18a08
|
remove a constant, add an assert
|
2022-09-18 00:32:55 +02:00 |
|
Folkert
|
c7bb2672a9
|
fix typo
|
2022-09-17 14:44:37 +02:00 |
|
Folkert
|
92514a1499
|
custom logic around finding 'forward' exports
|
2022-09-17 14:42:36 +02:00 |
|
Folkert
|
0da6484618
|
add some asserts about addresses in the dummy dll generation
|
2022-09-17 14:37:10 +02:00 |
|
Brian Carroll
|
b0c4f74109
|
Add some extra context clues to a name and a comment
|
2022-09-17 07:44:41 +01:00 |
|
Folkert
|
c00e458bad
|
refactor
|
2022-09-15 20:06:07 +02:00 |
|
Folkert
|
bad715e18a
|
add some objdump snippets to make clearer what is happening
|
2022-09-15 19:37:28 +02:00 |
|
Folkert
|
132ea07191
|
refactor out a constant
|
2022-09-15 19:37:12 +02:00 |
|
Folkert
|
1b74dec8ac
|
remove test
|
2022-09-14 21:19:39 +02:00 |
|
Folkert
|
cead509255
|
comment out test
|
2022-09-14 21:19:25 +02:00 |
|
Folkert
|
d8c0c176d8
|
comment
|
2022-09-14 18:31:27 +02:00 |
|
Folkert
|
2e8952d8a7
|
windows PE preprocessing of the .exe
|
2022-09-14 18:02:01 +02:00 |
|
Folkert
|
af8f54bfbd
|
find and decode the dynamic relocations in .exe files
|
2022-09-07 17:52:19 +02:00 |
|
Folkert
|
6fff224c77
|
PE cleanup after review elsewhere
|
2022-09-07 14:07:52 +02:00 |
|
Folkert
|
8a2aa076ee
|
cleanup
|
2022-09-07 14:07:52 +02:00 |
|
Folkert
|
c46f8a0073
|
create a dummy elf .so from scratch
|
2022-09-07 14:07:52 +02:00 |
|
Folkert de Vries
|
bdbaa9dda2
|
Merge pull request #3956 from roc-lang/refactor-surgery
minor cleanup of surgery
|
2022-09-06 19:17:02 +02:00 |
|
Folkert de Vries
|
33ae4c2655
|
Merge branch 'main' into windows-surgical-dll
Signed-off-by: Folkert de Vries <folkert@folkertdev.nl>
|
2022-09-05 11:31:19 +02:00 |
|
Folkert
|
af74f72f8a
|
minor tweaks
|
2022-09-03 14:45:22 +02:00 |
|
Folkert
|
ff7df65f36
|
simplify slices
|
2022-09-03 13:24:21 +02:00 |
|
Folkert de Vries
|
7e31f67910
|
Merge pull request #3919 from roc-lang/surgical-no-break-caching
surgical linker: don't generate dynhost if it's unchanged
|
2022-08-31 09:04:13 +02:00 |
|
Folkert
|
ab2163b800
|
sort symbols
|
2022-08-30 15:00:58 +02:00 |
|
Folkert
|
3e78395237
|
changes after review
|
2022-08-30 12:32:19 +02:00 |
|