Brian Carroll
b541802819
Change custom section names to string slice
...
We will never need to create these names dynamically.
e.g. "reloc.CODE", "reloc.DATA", and "linking" will all
come from specific places in our backend code.
It's a different story for function names etc.
2021-10-30 09:26:40 +01:00
Brian Carroll
2da2e51895
Move relocations code into the backend and code builder
2021-10-30 09:20:16 +01:00
Brian Carroll
9780cce4dd
Rough draft of function name relocations
2021-10-30 08:55:33 +01:00
Shritesh Bhattarai
fd61ef89ee
Add aarch64-target in roc_cli and rebuild_host
2021-10-29 19:27:38 -04:00
Richard Feldman
0d1ed45444
Merge pull request #1841 from rtfeldman/nix_undefined_symbol
...
Fix nix undefined symbol `_dl_catch_error_ptr`
2021-10-29 18:20:17 -04:00
Folkert
d35686f3a8
hash less
2021-10-29 21:28:11 +02:00
Folkert
05b5cd3429
specializations requested in file.rs are specializations for the host
2021-10-29 21:27:26 +02:00
Folkert
eda904e63e
don't register debug idents while doing work (it happens afterwards
2021-10-29 21:26:36 +02:00
Folkert
e10cd07143
use Entry in symbol.rs
2021-10-29 21:25:11 +02:00
Folkert
30e7f7b335
make solved type hash use an explicit stack (no recursion)
2021-10-29 21:24:40 +02:00
Anton-4
5487f8e7cb
fmt+clippy
2021-10-29 20:13:31 +02:00
Anton-4
e0fac60ddb
fixed undefined _dl_catch_error_ptr
2021-10-29 20:10:57 +02:00
Brian Carroll
f5f34b74c0
Write serializers for much of the linking and relocation sections
2021-10-29 16:04:27 +01:00
Richard Feldman
2980e195ce
Merge pull request #1835 from rtfeldman/fix-ir-clones
...
remove clones in ir.rs
2021-10-28 22:15:17 -04:00
Brian Carroll
2020e89db7
Create reserve_padded_u32, nice for readability
2021-10-28 22:44:33 +01:00
Brian Carroll
7841ef959a
Serialize padded signed integers and refactor serialize module
2021-10-28 20:45:04 +01:00
Folkert de Vries
aa978ae6d9
Merge branch 'trunk' into list_min
2021-10-28 20:32:27 +02:00
Brian Carroll
3c9375af28
Start creating module_builder
2021-10-28 13:18:14 +01:00
Brian Carroll
82acf55d38
Create serializer module
2021-10-28 11:50:55 +01:00
Tim Whiting
329c035e24
fix comment
2021-10-27 20:31:07 -06:00
Tim Whiting
c721a1cc1f
add builtin List.min
2021-10-27 20:28:34 -06:00
Dan Gieschen Knutson
02117ba512
Merge branch 'trunk' into str_trim
2021-10-27 18:01:29 -05:00
Dan Knutson
bf29639d87
deinit a string that has been trimmed to nothing
2021-10-27 17:58:30 -05:00
Folkert
2adaf2be7f
remove clones
2021-10-27 23:07:33 +02:00
Folkert
3559a0ed6b
move check
2021-10-27 22:25:37 +02:00
Folkert
456b6fd4d9
remove clone
2021-10-27 22:25:17 +02:00
Brian Carroll
eb47b5183c
Slightly refactor code section swapping
2021-10-27 19:41:52 +01:00
Brian Carroll
f066adbe05
Adjust relocation offset to account for inserts, preamble, function offset, etc.
2021-10-27 16:50:30 +01:00
Richard Feldman
85aa7f1fd7
Merge pull request #1833 from matthiasbeyer/fix-missing-space
...
Fix missing space
2021-10-27 09:58:51 -04:00
Richard Feldman
ade3dc2478
Merge pull request #1830 from rtfeldman/fix/linux
...
Use linker arg: --arch
2021-10-27 09:56:23 -04:00
Matthias Beyer
c47da13994
Fix indention
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2021-10-27 15:00:51 +02:00
Matthias Beyer
0c8db62533
Fix: Add missing space in error message
...
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2021-10-27 15:00:51 +02:00
locriacyber
1cc6efd50e
Merge branch 'trunk' into fix/linux
2021-10-27 02:54:24 -04:00
Locria Cyber
1ab223649a
Change -arch to --arch on linux
2021-10-27 02:52:48 -04:00
Richard Feldman
911359a6f4
Merge branch 'trunk' into morphic-solve-trivial
2021-10-26 20:39:08 -04:00
Richard Feldman
2dd536825d
Merge pull request #1824 from rtfeldman/str_from_int
...
Convert builtin calls to markup
2021-10-26 20:38:26 -04:00
Locria Cyber
791c46fe0d
Remove deprecated zig features
2021-10-26 20:21:55 -04:00
Dan Gieschen Knutson
57b2dcc201
Merge branch 'trunk' into str_trim
2021-10-26 18:30:53 -05:00
Dan Knutson
352fe90e2d
fix format violation
2021-10-26 18:14:04 -05:00
Brian Carroll
1def56ea04
Build up a vector of relocations
2021-10-26 23:31:36 +01:00
Folkert de Vries
65204cdfef
Merge branch 'trunk' into morphic-solve-trivial
2021-10-27 00:02:24 +02:00
Folkert
d561f2661d
speedups
2021-10-27 00:01:21 +02:00
Brian Carroll
fd3d8f5227
Get rid of procedure sorting
2021-10-26 22:44:28 +01:00
Folkert de Vries
29bd4e3e50
Merge branch 'trunk' into str_trim
2021-10-26 22:45:32 +02:00
Brian Carroll
a0d2b7e6e1
Unit tests for LEB-128 encoders
2021-10-26 18:08:40 +01:00
Anton-4
d460ce64b1
Merge branch 'trunk' into str_from_int
2021-10-26 17:33:15 +02:00
Anton-4
45df20cb17
can now convert builtin calls to markup
2021-10-26 16:43:03 +02:00
Chelsea Troy
75e1c0a8af
Merge branch 'trunk' into add-list-dropLast
2021-10-25 21:57:19 -05:00
Chelsea Troy
7680a1d17a
Remove unused code
2021-10-25 21:55:45 -05:00
Dan Knutson
12d35ba9f1
work around all test strings being static
2021-10-25 20:22:37 -05:00