From 8dddb971d923fa19dced39013e6d4a39676e065a Mon Sep 17 00:00:00 2001 From: Quentin Carbonneaux Date: Mon, 29 Aug 2022 18:45:52 +0200 Subject: drop -G flag and add target amd64_apple apple support is more than assembly syntax in case of arm64 machines, and apple syntax is currently useless in all cases but amd64; rather than having a -G option that only makes sense with amd64, we add a new target amd64_apple --- rv64/emit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rv64/emit.c') diff --git a/rv64/emit.c b/rv64/emit.c index 2656c60..f976ade 100644 --- a/rv64/emit.c +++ b/rv64/emit.c @@ -415,7 +415,7 @@ rv64_emitfn(Fn *fn, FILE *f) Blk *b, *s; Ins *i; - gasemitlnk(fn->name, &fn->lnk, ".text", f); + emitlnk(fn->name, &fn->lnk, ".text", f); if (fn->vararg) { /* TODO: only need space for registers -- cgit 1.4.1