aboutsummaryrefslogtreecommitdiffhomepage
path: root/amd64
diff options
context:
space:
mode:
authorlemon <lsof@mailbox.org>2023-06-18 09:05:15 +0200
committerlemon <lsof@mailbox.org>2023-06-18 09:05:15 +0200
commit04de327e9ac7c1502716336e9bbfecf544b31126 (patch)
tree52c1644c5b10c492037d8853b07155c8d334329b /amd64
parent962ad175aee634274b408ead38b13e6bc90e2fe7 (diff)
ELF output static data
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 0205313..4c0656a 100644
--- a/amd64/isel.c
+++ b/amd64/isel.c
@@ -29,7 +29,7 @@ fixarg(struct function *fn, union ref *r, struct instr *ins, struct block *blk,
union { float f; int i; } pun = { con->f };
wr32le(data, pun.i);
}
- *r = mkdatref(siz, /*align*/siz, data, siz, /*deref*/1);
+ *r = mkdatref(NULL, siz, /*align*/siz, data, siz, /*deref*/1);
} else if (in_range(op, Odiv, Ourem) && kisint(ins->cls))
goto DivImm;
} else if (r->t == RICON && in_range(op, Odiv, Ourem) && kisint(ins->cls)) {