diff options
Diffstat (limited to 'arm64/emit.c')
-rw-r--r-- | arm64/emit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arm64/emit.c b/arm64/emit.c index fc3f9ac..e20114a 100644 --- a/arm64/emit.c +++ b/arm64/emit.c @@ -263,7 +263,7 @@ loadaddr(Con *c, char *rn, E *e) off[0] = 0; l = str(c->label); p = l[0] == '"' ? "" : T.assym; - if (c->rel == RelThr) { + if (c->reloc == RelThr) { fprintf(e->f, "\tmrs\t%s, tpidr_el0\n", rn); fprintf(e->f, "\tadd\t%s, %s, #:tprel_hi12:%s%s%s, lsl #12\n", rn, rn, p, l, off); |