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);

View file

@ -514,7 +514,6 @@ arm64_emitfn(Fn *fn, FILE *out)
if (T.apple)
e->fn->lnk.align = 4;
emitfnlnk(e->fn->name, &e->fn->lnk, e->f);
fputs("\thint\t#34\n", e->f);
framelayout(e);
if (e->fn->vararg && !T.apple) {