qbe

Internal scc patchset buffer for QBE
Log | Files | Refs | README | LICENSE

commit 7410f90629d56d75c1410724626e6abad8418b23
parent 9632f2f148bf545fea09f25f34a316ec8ae86256
Author: Alexey Yerin <yyp@disroot.org>
Date:   Thu, 23 Feb 2023 17:10:19 +0300

Emit .type and .size directives on RISC-V and ARM

To match x86

Diffstat:
Marm64/emit.c | 2++
Mrv64/emit.c | 1+
2 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/arm64/emit.c b/arm64/emit.c @@ -636,4 +636,6 @@ arm64_emitfn(Fn *fn, FILE *out) } } id0 += e->fn->nblk; + if (!T.apple) + elf_emitfnfin(fn->name, out); } diff --git a/rv64/emit.c b/rv64/emit.c @@ -557,4 +557,5 @@ rv64_emitfn(Fn *fn, FILE *f) } } id0 += fn->nblk; + elf_emitfnfin(fn->name, f); }