diff options
author | Quentin Carbonneaux <quentin@c9x.me> | 2024-01-02 11:16:08 +0100 |
---|---|---|
committer | Quentin Carbonneaux <quentin@c9x.me> | 2024-01-02 11:16:08 +0100 |
commit | 4bc4c9584a13736c20855cdea2203d3bd0a259a3 (patch) | |
tree | e1e203610cdc5231a89c1713c2fa6736b1cfbf53 /amd64 | |
parent | 5af33410f6faa6c0f7d97af5b802b2608b228bc2 (diff) | |
download | roux-4bc4c9584a13736c20855cdea2203d3bd0a259a3.tar.gz |
revert 5af33410
Causes errors with stock toolchain on OpenBSD.
Diffstat (limited to 'amd64')
-rw-r--r-- | amd64/emit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/amd64/emit.c b/amd64/emit.c index c949589..297cc76 100644 --- a/amd64/emit.c +++ b/amd64/emit.c @@ -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); |