summary refs log tree commit diff
path: root/rv64/emit.c
diff options
context:
space:
mode:
authorAlexey Yerin <yyp@disroot.org>2023-02-23 17:10:19 +0300
committerQuentin Carbonneaux <quentin@c9x.me>2023-03-11 21:56:45 +0100
commit7410f90629d56d75c1410724626e6abad8418b23 (patch)
treee0d107d6f00c5c90c6c7c7f0233ee96fc901646a /rv64/emit.c
parent9632f2f148bf545fea09f25f34a316ec8ae86256 (diff)
downloadroux-7410f90629d56d75c1410724626e6abad8418b23.tar.gz
Emit .type and .size directives on RISC-V and ARM
To match x86
Diffstat (limited to 'rv64/emit.c')
-rw-r--r--rv64/emit.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/rv64/emit.c b/rv64/emit.c
index f9df146..acb6df3 100644
--- 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);
 }