cant decide

main
Øyvind Skaaden 2022-04-03 22:54:38 +02:00
parent 79653a3b84
commit 56119f44f4
1 changed files with 1 additions and 1 deletions

View File

@ -183,7 +183,7 @@ generate_function ( symbol_t *function )
printf("# func %s(nparams: %ld)\n", function->name, function->nparms);
puts(".text");
printf(".globl _%s\n", function->name);
printf(".global _%s\n", function->name);
LABEL(function->name);
ASM(pushq, %rbp);
ASM(movq, %rsp, %rbp);