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/isel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rv64/isel.c') diff --git a/rv64/isel.c b/rv64/isel.c index e41578b..3d9884f 100644 --- a/rv64/isel.c +++ b/rv64/isel.c @@ -41,7 +41,7 @@ fixarg(Ref *r, int k, Ins *i, Fn *fn) * immediates */ assert(c->type == CBits); - n = gasstash(&c->bits, KWIDE(k) ? 8 : 4); + n = stashbits(&c->bits, KWIDE(k) ? 8 : 4); vgrow(&fn->con, ++fn->ncon); c = &fn->con[fn->ncon-1]; sprintf(buf, "fp%d", n); -- cgit 1.4.1