Ryan Barth
|
3edc551043
|
chore: cargo fmt
|
2024-07-01 15:01:32 -07:00 |
|
Ryan Barth
|
43f970f813
|
fix: count all symbols to err on the side of over allocating
|
2024-06-30 23:17:20 -07:00 |
|
Ryan Barth
|
720ed2a457
|
fix: calculate windows dll symbols from prebuilt shared library
|
2024-06-30 22:56:14 -07:00 |
|
Brendan Hansknecht
|
6dc5bfb1b7
|
Use roc_target over target_lexicon
Tailors a target class for our needs.
Replaces tons of uses across the entire compiler.
This is a base for later adding new targets like thumb.
|
2024-03-31 10:50:26 -07:00 |
|
Brendan Hansknecht
|
28e4ae8ae5
|
update ingested windows compiler-rt symbols
|
2023-12-09 18:11:22 -08:00 |
|
Anton-4
|
90865c6b51
|
cleanup CI, fix unrecognized --strip
|
2023-10-23 13:50:34 -07:00 |
|
Folkert
|
2f88d0579d
|
fmt
|
2023-09-03 21:32:56 +02:00 |
|
Luke Boswell
|
8123041d0a
|
windows linker name matching
|
2023-09-03 21:32:36 +02:00 |
|
Folkert
|
ef39bad7c6
|
auto clippy fixes
|
2023-07-10 18:27:08 +02:00 |
|
Brendan Hansknecht
|
4f97ab2965
|
remove old compiler-rt workarounds for macos
|
2023-06-24 17:27:11 -07:00 |
|
Brendan Hansknecht
|
829b71aa1f
|
fully take ownership of memcpy in the builtins
|
2023-06-03 19:05:19 -07:00 |
|
Brendan Hansknecht
|
08d4ac558b
|
ignore memcpy_decision in pe linker
|
2023-06-02 17:02:59 -07:00 |
|
Brendan Hansknecht
|
e7906b30a9
|
add other compiler-rt functions in builtins.o
|
2023-05-30 14:38:10 -07:00 |
|
Brendan Hansknecht
|
a41611b553
|
allow ingested compiler-rt function in windows surgical linker
|
2023-05-30 12:11:15 -07:00 |
|
Folkert
|
394495d307
|
Revert "update size asserts"
This reverts commit 9973d4b8d2 .
|
2023-04-21 13:22:23 +02:00 |
|
Folkert
|
4cd8f0a056
|
clippy --fix fixes
|
2023-04-21 12:05:51 +02:00 |
|
Anton-4
|
cae7d5eaba
|
ignore in different order
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
|
2023-03-24 18:00:14 +01:00 |
|
Anton-4
|
c48c8f6d2c
|
added zig build lock
|
2023-03-24 17:24:10 +01:00 |
|
Brendan Hansknecht
|
7a944113a0
|
move build_file and related functions to roc_build
This is needed of glue to be able to call build_file.
Also does some other changes to avoid circular dependencies.
|
2023-03-04 10:00:43 -08:00 |
|
Richard Feldman
|
062ecce84c
|
Change preprocessedhost filename
|
2022-11-18 23:54:21 -05:00 |
|
Folkert
|
21a1434680
|
support 64-bit relocations on PE
|
2022-11-11 12:00:19 +01:00 |
|
Folkert
|
9840cd53df
|
cleanup
|
2022-11-10 23:11:22 +01:00 |
|
Folkert
|
761891a5a1
|
implement implicit addends (used for .rdata relocations by rust)
|
2022-11-10 22:58:54 +01:00 |
|
Folkert
|
ccc69c2f16
|
add debug info
|
2022-11-10 22:30:07 +01:00 |
|
Folkert
|
2b6ddc990c
|
more error info when zig command fails
|
2022-11-09 19:17:05 +01:00 |
|
Folkert
|
66a1ba00eb
|
1.65 clippy fixes
|
2022-11-03 16:20:37 +01:00 |
|
Folkert
|
a44cd68419
|
update comments
|
2022-10-31 23:56:53 +01:00 |
|
Folkert
|
bb893a70a0
|
actually put in the chkstk helper
|
2022-10-31 23:47:06 +01:00 |
|
Folkert
|
708de4136b
|
add assembly bytes for ___chkstk_ms
|
2022-10-31 23:28:14 +01:00 |
|
Folkert
|
bbab077b16
|
make ret instruction finding more robust
|
2022-10-30 14:53:17 +01:00 |
|
Folkert
|
69fe0464f5
|
round up reloc image if on boundary
|
2022-10-30 11:15:01 +01:00 |
|
Folkert
|
748b2cf23a
|
make condition stricter
|
2022-10-30 00:51:42 +02:00 |
|
Folkert
|
21a2f6f103
|
remove relocation entry logic
|
2022-10-30 00:46:58 +02:00 |
|
Folkert
|
5a67687bba
|
deal with a stack probe symbol on windows
|
2022-10-29 23:19:45 +02:00 |
|
Folkert
|
a9d36431ba
|
don't put in relocations ?!
|
2022-10-29 17:01:51 +02:00 |
|
Folkert
|
548ef1358d
|
remove debug print
|
2022-10-26 19:09:16 +02:00 |
|
Folkert
|
7c91aa79c9
|
when encountering memcpy, actually look for roc_memcpy
|
2022-10-26 16:37:59 +02:00 |
|
Folkert
|
5311d9a02b
|
Revert "redirect libc functions to their roc equivalents"
This reverts commit 4a75b5ad5827999592ebc0f66debe90f09e87bf5.
|
2022-10-26 16:36:10 +02:00 |
|
Folkert
|
73796f2b05
|
rename
|
2022-10-26 16:34:04 +02:00 |
|
Folkert
|
e6c75ea3b6
|
make relocation calculation more robust
|
2022-10-26 16:33:10 +02:00 |
|
Folkert
|
2ad7dc0ca0
|
redirect libc functions to their roc equivalents
|
2022-10-26 16:32:37 +02:00 |
|
Folkert
|
1d45b7d1b5
|
remove a copy
|
2022-10-23 22:59:25 +02:00 |
|
Folkert
|
43c3095337
|
fix bug in loop
|
2022-10-23 22:55:01 +02:00 |
|
Folkert
|
0071c9aa04
|
update the dynhost file (dll name is now different)
|
2022-10-23 21:30:52 +02:00 |
|
Folkert
|
c4e407f703
|
remove subtraction of image base; value is already an rva
|
2022-10-23 20:19:34 +02:00 |
|
Folkert
|
28665abc96
|
use libapp.dll as the dll name
|
2022-10-23 20:18:09 +02:00 |
|
Folkert
|
ca90b00588
|
correctly update the size of the base relocations (round up to multiple of 8)
|
2022-10-23 20:16:46 +02:00 |
|
Folkert
|
f0f94107d5
|
deal with imports being stored in .idata or .rdata
|
2022-10-23 20:15:35 +02:00 |
|
Folkert
|
9c9e495e14
|
deal with our dummy dll not being the last import in the file
|
2022-10-23 20:10:38 +02:00 |
|
Folkert
|
c55a3e7b37
|
resize reloc section when required
|
2022-10-22 14:49:59 +02:00 |
|