aboutsummaryrefslogtreecommitdiff
path: root/amd64
diff options
context:
space:
mode:
authorMichael Forney <[email protected]>2024-03-20 23:29:33 -0700
committerQuentin Carbonneaux <[email protected]>2024-03-26 09:22:06 +0100
commit1b7770e271252cf01ec2e13b97c82922387e3e41 (patch)
tree0332d8a4bd7c0b05191834172ef74228ba121d2d /amd64
parentbe5d46fe7d876a0722c9475ae9dbc7baa60de46a (diff)
Drop quotes around floating point constant labels
This is incompatible with binutils gas older than 2.26.
Diffstat (limited to 'amd64')
-rw-r--r--amd64/isel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/amd64/isel.c b/amd64/isel.c
index e29c8bf..2b81afd 100644
--- a/amd64/isel.c
+++ b/amd64/isel.c
@@ -95,7 +95,7 @@ fixarg(Ref *r, int k, Ins *i, Fn *fn)
memset(&a, 0, sizeof a);
a.offset.type = CAddr;
n = stashbits(&fn->con[r0.val].bits, KWIDE(k) ? 8 : 4);
- sprintf(buf, "\"%sfp%d\"", T.asloc, n);
+ sprintf(buf, "%sfp%d", T.asloc, n);
a.offset.sym.id = intern(buf);
fn->mem[fn->nmem-1] = a;
}