Causes errors with stock toolchain
on OpenBSD.
This commit is contained in:
Quentin Carbonneaux 2024-01-02 11:16:08 +01:00
parent 5af33410f6
commit 4bc4c9584a
2 changed files with 1 additions and 2 deletions

View file

@ -581,7 +581,7 @@ amd64_emitfn(Fn *fn, FILE *f)
uint64_t fs;
emitfnlnk(fn->name, &fn->lnk, f);
fputs("\tendbr64\n\tpushq %rbp\n\tmovq %rsp, %rbp\n", f);
fputs("\tpushq %rbp\n\tmovq %rsp, %rbp\n", f);
fs = framesz(fn);
if (fs)
fprintf(f, "\tsubq $%"PRIu64", %%rsp\n", fs);