diff --git a/exercises/05/vslc/src/generator.c b/exercises/05/vslc/src/generator.c index 63d121e..f5ec8a0 100644 --- a/exercises/05/vslc/src/generator.c +++ b/exercises/05/vslc/src/generator.c @@ -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);