fixed typo

main
Øyvind Skaaden 2022-04-03 22:52:21 +02:00
parent ece2d9b83a
commit 79653a3b84
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(".global _%s\n", function->name);
printf(".globl _%s\n", function->name);
LABEL(function->name);
ASM(pushq, %rbp);
ASM(movq, %rsp, %rbp);