Commit Graph

412 Commits

Author SHA1 Message Date
gingerBill
867af80bff Add -use-single-module 2025-01-22 13:26:35 +00:00
gingerBill
d4e15074ea Enable -use-separate-modules as default for all platforms 2025-01-22 13:13:00 +00:00
flysand7
3f20b63243 Error if -no-thread-local is used in presence of -no-crt on Unix 2025-01-17 02:51:22 +03:00
flysand7
4f0206ce08 Added compile-time checks for thread locals with -no-crt
Now using any thread-local variables with -no-crt enabled
will cause a compiler error, unless -no-thread-local is
given.

Also fixed a minor typo in a comment.
2025-01-17 01:12:23 +03:00
gingerBill
bca08d3b85 Make -no-dynamic-literals the default now 2025-01-05 13:33:06 +00:00
gingerBill
2efe4c2d68 Add #+feature dynamic-literals 2025-01-05 13:19:10 +00:00
Laytan Laats
676fe34863 fix #4547 - wasm -out without file extension 2024-12-06 19:38:53 +01:00
gingerBill
b36a81ef53 ABI change: for indirect parameters size_of <= 16, do callee stack copy 2024-12-05 10:49:39 +00:00
gingerBill
7adb4c91d4 Fix typo 2024-11-14 17:05:34 +00:00
gingerBill
b9886dfcc7 Add -linker:<string> to replace -lld and -radlink 2024-11-14 17:04:45 +00:00
gingerBill
21a25bddde Add -radlink 2024-11-14 16:32:26 +00:00
Jeroen van Rijn
925d8749e0 Suggest -microarch:native if popcnt instruction is missing.
Fixes #4453.
2024-11-07 12:56:49 +01:00
0dminnimda
c26e7e17a1 Simplify use of pie 2024-11-04 15:39:51 +03:00
0dminnimda
35f1b0f11e Add support for linking as pie 2024-11-04 02:35:49 +03:00
gingerBill
131e8d4187 Disable exe path test 2024-10-08 11:57:54 +01:00
gingerBill
09588836e7 Add -vet-unused-procedures 2024-09-17 11:33:42 +01:00
gingerBill
19c1ed154c Add -vet-packages:<comma-separated-string-array> 2024-09-17 11:01:26 +01:00
gingerBill
b442ea8601 Merge pull request #4206 from laytan/improve-linking-shared-libraries
Improve linking shared libraries
2024-09-10 21:59:21 +01:00
gingerBill
0dddd2b97e Add internal flag
`-internal-fast-isel`
2024-09-09 14:39:53 +01:00
Jeroen van Rijn
466a90010f Fix #4211 2024-09-07 21:07:29 +02:00
Laytan
0aa971207b add -no-rpath 2024-09-04 22:38:19 +02:00
Laytan
28c643d23f riscv compiler support 2024-09-01 21:42:47 +02:00
Laytan
ca6ef95b03 add support for linux_riscv64 and freestanding_riscv64 2024-08-20 14:06:40 +02:00
Laytan Laats
f22ff21039 fix max alignments 2024-08-12 17:05:51 +02:00
Jeroen van Rijn
2bf055ec6e Delete empty file after access check. 2024-08-07 19:38:36 +02:00
Jeroen van Rijn
fdfe6b00e0 Improve output path checking
Fixes #4001
2024-07-31 15:16:09 +02:00
Thomas la Cour
744d7f7ef4 fix for using .rc files 2024-07-30 16:53:14 +02:00
gingerBill
1e37eaf54d Begin work for bit_set[...; [N]T] (not working) 2024-07-15 14:49:20 +01:00
gingerBill
664a71454b -use-separate-modules default on Windows only 2024-07-15 02:53:01 +01:00
gingerBill
cc3cf12ae2 Disable -use-separate-modules by default on darwin until problem is determined 2024-07-15 02:28:27 +01:00
gingerBill
c64702ae5a Make -use-separate-modules the default behaviour for -o:none and -o:minimal 2024-07-15 00:43:46 +01:00
gingerBill
a867378418 Default to -o:minimal again 2024-07-14 15:55:26 +01:00
Jeroen van Rijn
8dc4eca4d2 Allow using precompiled .res file. 2024-07-10 14:25:18 +02:00
gingerBill
886ee66e7f Cache files, env, and args 2024-07-09 14:16:56 +01:00
gingerBill
87ac68fcf2 Add -internal-cached 2024-07-08 23:39:14 +01:00
gingerBill
564d5af8b2 Default to -o:none for all builds 2024-07-08 16:12:22 +01:00
gingerBill
8491e2491c Experiment with different uses of -use-separate-modules 2024-07-08 14:48:59 +01:00
gingerBill
86c58167ed Add -print-linker-flags 2024-07-08 10:40:04 +01:00
Laytan Laats
6f1cc8071c wasm: add foreign import and linking of wasm object files 2024-07-02 15:28:08 +02:00
gingerBill
b1a1da6618 Add -vet-tabs 2024-06-29 19:54:31 +01:00
gingerBill
f4abdf716e Move microarch stuff to a separate file 2024-06-29 19:29:20 +01:00
gingerBill
d6b8544f50 Add internal flag for testing stuff 2024-06-29 12:04:31 +01:00
gingerBill
704530497b Rename -vet-identical-cast to -vet-cast; with minor code clean up 2024-06-29 11:44:45 +01:00
Feoramund
6496432b80 Add -vet-identical-cast 2024-06-28 23:14:03 -04:00
gingerBill
17efb87eef Add -custom-attribute 2024-06-28 11:44:39 +01:00
Laytan Laats
b79d7e6917 disallow non-global foreign import of variables on wasm 2024-06-28 01:34:09 +02:00
gingerBill
23351ca8be Merge pull request #3137 from laytan/show-defineable
Add flags to show/export defineable values and warn if a -define is unused in the project
2024-06-20 11:45:52 +01:00
gingerBill
7c529e990d Add -target:freestanding_arm32 (experimental) 2024-06-09 17:48:46 +01:00
Laytan Laats
9a95049393 -show-defineables and -export-defineables 2024-06-06 19:44:54 +02:00
Laytan
e2eb3cdd8a fix linking on weird linuxes 2024-06-06 19:23:36 +02:00