mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 15:48:51 +00:00
Fix-up inline asm for i386 syscalls emit
This commit is contained in:
@@ -2769,7 +2769,7 @@ gb_internal lbValue lb_build_builtin_proc(lbProcedure *p, Ast *expr, TypeAndValu
|
|||||||
{
|
{
|
||||||
GB_ASSERT(arg_count <= 7);
|
GB_ASSERT(arg_count <= 7);
|
||||||
|
|
||||||
char asm_string_default[] = "int $0x80";
|
char asm_string_default[] = "int $$0x80";
|
||||||
char *asm_string = asm_string_default;
|
char *asm_string = asm_string_default;
|
||||||
gbString constraints = gb_string_make(heap_allocator(), "={eax}");
|
gbString constraints = gb_string_make(heap_allocator(), "={eax}");
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user