diff options
| author | Quentin Carbonneaux <[email protected]> | 2024-04-22 13:58:29 +0200 |
|---|---|---|
| committer | Quentin Carbonneaux <[email protected]> | 2024-04-22 14:01:50 +0200 |
| commit | b24af7d3f79de32451c55bbdd7a27bf64598044f (patch) | |
| tree | 4011370236788eec5d38875af796c2bf14f31e41 /rv64 | |
| parent | 99169df2ff4d92f67c7936ba6982d33670ea9a21 (diff) | |
revert 1b7770e271
Quotes are used on Apple target
variants to flag that we must
not add the _ symbol prefix.
Diffstat (limited to 'rv64')
| -rw-r--r-- | rv64/isel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rv64/isel.c b/rv64/isel.c index 1fcf60c..8921a07 100644 --- a/rv64/isel.c +++ b/rv64/isel.c @@ -44,7 +44,7 @@ fixarg(Ref *r, int k, Ins *i, Fn *fn) n = stashbits(&c->bits, KWIDE(k) ? 8 : 4); vgrow(&fn->con, ++fn->ncon); c = &fn->con[fn->ncon-1]; - sprintf(buf, "%sfp%d", T.asloc, n); + sprintf(buf, "\"%sfp%d\"", T.asloc, n); *c = (Con){.type = CAddr}; c->sym.id = intern(buf); emit(Oload, k, r1, CON(c-fn->con), R); |
