Commit graph

382 commits

Author SHA1 Message Date
Dmitry Boulytchev
8a4ff68165 Intermediate step to X32/X86 2024-08-29 21:13:23 +03:00
Dmitry Boulytchev
172bd13037 Removed autogenerating files 2024-08-28 20:57:35 +03:00
Dmitry Boulytchev
84cf5fa97a Merge 2024-08-28 20:53:27 +03:00
Dmitry Boulytchev
f51d063e52 Made x32 copy 2024-08-28 20:49:37 +03:00
Dmitry Boulytchev
50d28b12d4 Added tag 2024-08-28 20:45:52 +03:00
Roman Venediktov
475ce90e9b Fix escaping 2024-07-11 15:19:22 +02:00
Roman Venediktov
8dc1dd8346 Update year in help message 2024-07-11 15:19:22 +02:00
Roman Venediktov
2728488b9b Fixed Not_found in call compilation 2024-07-11 15:19:22 +02:00
danyaberezun
16d9f06afb add let and in as keywords; x=y can be used in expressions as sygar for compare(x,y) == 0 2024-07-11 15:19:22 +02:00
danyaberezun
120eccba66 add let-in as experimental sintax sugger 2024-07-11 15:19:22 +02:00
Roman Venediktov
2a76179acb Added function arguments count check without -g 2024-07-11 15:19:22 +02:00
Roman Venediktov
b444aa53e8 Add check for argc in -g mode 2024-07-11 15:19:22 +02:00
Roman Venediktov
e74b092f3a Remove X86 mode 2024-07-11 15:19:22 +02:00
Roman Venediktov
02209117f4 Added flags and style fixed 2024-07-11 15:19:22 +02:00
Roman Venediktov
ba5c35b6d5 Return stabs for linux 2024-07-11 15:19:22 +02:00
Roman Venediktov
0fa417ca9b Remove todo for usage of free argument registers 2024-07-11 15:19:22 +02:00
Roman Venediktov
bd7779172b Style refactorings for X86_64 2024-07-11 15:19:22 +02:00
Roman Venediktov
74e007c2ec Renamed X86 to X86_64 2024-07-11 15:19:22 +02:00
Roman Venediktov
85b838ea2b Made compiler working on Linux too 2024-07-11 15:19:22 +02:00
Roman Venediktov
33e6003bee Fix warning -ld_classic unused 2024-07-11 15:19:22 +02:00
Roman Venediktov
250f714bd0 Fixed reference to sysargs 2024-07-11 15:19:22 +02:00
Roman Venediktov
7ccd5cd7d5 Disabled test02 2024-07-11 15:19:22 +02:00
Roman Venediktov
2f732ef0ce Added -ld_classic flag for clang 15+ 2024-07-11 15:19:22 +02:00
Roman Venediktov
670bb2d242 Modified escaping for llvm assembly 2024-07-11 15:19:22 +02:00
Roman Venediktov
a4648e5819 Fix global to _global 2024-07-11 15:19:22 +02:00
Roman Venediktov
94b31a70a4 Fix warnings 2024-07-11 15:19:22 +02:00
Egor Sheremetov
f4b9aa1eb9 Changed topname to _main instead of main 2024-07-11 15:19:22 +02:00
Egor Sheremetov
87a489e2e3 Fixed issues with a missing _main symbol 2024-07-11 15:19:22 +02:00
Egor Sheremetov
eb8e9374f2 Added fix for unknown __gc_init symbol 2024-07-11 15:19:22 +02:00
Egor Sheremetov
d6a2fadda1 Removed plt 2024-07-11 15:19:22 +02:00
Egor Sheremetov
46131cde74 Fixed cross-compilation flag for x86-64 macOS compilation 2024-07-11 15:19:22 +02:00
Egor Sheremetov
e74e08fa4f Changed cross-compilation flag for x86-64 macOS compilation 2024-07-11 15:19:22 +02:00
Egor Sheremetov
10dc4d6a02 Added cross-compilation flag for x86-64 macOS compilation 2024-07-11 15:19:22 +02:00
Egor Sheremetov
e6f4e06973 Fixed generated symbols' names used for macOS 2024-07-11 15:19:22 +02:00
Egor Sheremetov
ced766734c Added call to functions through PLT 2024-07-11 15:19:22 +02:00
Egor Sheremetov
53d7bc42d1 Changed gen_line method 2024-07-11 15:19:22 +02:00
Egor Sheremetov
05983251c1 Removed debug symbols and fixed .section directive to be appropriate for mach-o 2024-07-11 15:19:22 +02:00
Egor Sheremetov
3b54121ca8 fixed local symbols issue for mac 2024-07-11 15:19:22 +02:00
Roman Venediktov
8df129b518 Prototype pie executable 2024-07-11 15:19:22 +02:00
Roman Venediktov
9fa02845cb Prohibit user functions with built-in names 2024-07-11 15:19:22 +02:00
Roman Venediktov
907a9f4f93 Disable tail call for vararg functions 2024-07-11 15:19:22 +02:00
Roman Venediktov
bcc85384c3 Fix argc and argument order 2024-07-11 15:19:22 +02:00
Roman Venediktov
c4ffeb2fbf Added built-in labels parametrization 2024-07-11 15:19:22 +02:00
Roman Venediktov
de2c516935 Added label parametrization 2024-07-11 15:19:22 +02:00
Roman Venediktov
618dbdfc0f Implement safepoint call 2024-07-11 15:19:22 +02:00
Roman Venediktov
db296f5259 Final commit 2024-07-11 15:19:22 +02:00
Roman Venediktov
db9067b748 Fix all prints 2024-07-11 15:19:22 +02:00
Roman Venediktov
a91f61dbfa Finish fixing big numbers 2024-07-11 15:19:22 +02:00
Roman Venediktov
aeb4675210 Fix big numeric literal movement 2024-07-11 15:19:22 +02:00
danyaberezun
e8196e4c27 add a extra argument got Lprintf and disable tail call optimization for it 2024-07-11 15:19:22 +02:00