diff options
| author | Jeroen van Rijn <Kelimion@users.noreply.github.com> | 2023-10-30 10:07:56 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-10-30 10:07:56 +0100 |
| commit | 2e73fb25af97e3e888be75d635025fbc4cab02b4 (patch) | |
| tree | de412fb4df57b1699817afce3fba5d29a5952668 /src | |
| parent | 1d9f6346d47957d762887cceca37851f84eabeeb (diff) | |
| parent | 82263a8b38ac784e89789db0be50d4719041bb75 (diff) | |
Merge pull request #2903 from flysand7/i386-syscall-asm-fix
Fix-up inline asm for i386 syscalls emit
Diffstat (limited to 'src')
| -rw-r--r-- | src/llvm_backend_proc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/llvm_backend_proc.cpp b/src/llvm_backend_proc.cpp index ba920c042..f64cbd52a 100644 --- a/src/llvm_backend_proc.cpp +++ b/src/llvm_backend_proc.cpp @@ -2769,7 +2769,7 @@ gb_internal lbValue lb_build_builtin_proc(lbProcedure *p, Ast *expr, TypeAndValu { GB_ASSERT(arg_count <= 7); - char asm_string_default[] = "int $0x80"; + char asm_string_default[] = "int $$0x80"; char *asm_string = asm_string_default; gbString constraints = gb_string_make(heap_allocator(), "={eax}"); |