~mpu/qbe

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
1

[PATCH] Emit .type and .size directives on RISC-V and ARM

Details
Message ID
<20230223141020.19467-1-yyp@disroot.org>
DKIM signature
missing
Download raw message
Patch: +3 -0
To match x86
---
Note sure if T.apple check is really necessary here

 arm64/emit.c | 2 ++
 rv64/emit.c  | 1 +
 2 files changed, 3 insertions(+)

diff --git a/arm64/emit.c b/arm64/emit.c
index 5113c66..ee1593f 100644
--- 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
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);
}
-- 
2.39.2
Details
Message ID
<448c4998-7468-4756-9b17-a3514b08e75c@app.fastmail.com>
In-Reply-To
<20230223141020.19467-1-yyp@disroot.org> (view parent)
DKIM signature
missing
Download raw message
LGTM. Applied and pushed.

On Thu, Feb 23, 2023, at 15:10, Alexey Yerin wrote:
> Note sure if T.apple check is really necessary here

I'll check.
Reply to thread Export thread (mbox)