mirror of
https://github.com/ProgramSnail/Lama.git
synced 2025-12-06 06:48:48 +00:00
Added fix for unknown __gc_init symbol
This commit is contained in:
parent
87d018877b
commit
eb8e9374f2
1 changed files with 2 additions and 2 deletions
|
|
@ -802,10 +802,10 @@ let compile cmd env imports code =
|
|||
(* Initialize gc and arguments *)
|
||||
Push (R Registers.rdi);
|
||||
Push (R Registers.rsi);
|
||||
Call "__gc_init";
|
||||
Call "___gc_init";
|
||||
Pop (R Registers.rsi);
|
||||
Pop (R Registers.rdi);
|
||||
Call "set_args";
|
||||
Call "_set_args";
|
||||
]
|
||||
else [])
|
||||
@
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue