diff options
author | Quentin Carbonneaux <quentin@c9x.me> | 2022-09-09 18:00:29 +0200 |
---|---|---|
committer | Quentin Carbonneaux <quentin@c9x.me> | 2022-10-08 21:48:47 +0200 |
commit | 4e90b4210edc439bf749f495855e29f711d7e99e (patch) | |
tree | 9f3b3e137f98fa65bf1c61e235d32afce4f24f7f /arm64 | |
parent | 2e38c86af6c91bfb23dfb06b517a00c11fd4c1b3 (diff) | |
download | roux-4e90b4210edc439bf749f495855e29f711d7e99e.tar.gz |
"rel" fields become "reloc"
Diffstat (limited to 'arm64')
-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); |