From 4e90b4210edc439bf749f495855e29f711d7e99e Mon Sep 17 00:00:00 2001 From: Quentin Carbonneaux Date: Fri, 9 Sep 2022 18:00:29 +0200 Subject: "rel" fields become "reloc" --- amd64/emit.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'amd64') diff --git a/amd64/emit.c b/amd64/emit.c index cf36ebe..064ee60 100644 --- a/amd64/emit.c +++ b/amd64/emit.c @@ -167,7 +167,7 @@ emitcon(Con *con, FILE *f) case CAddr: l = str(con->label); p = l[0] == '"' ? "" : T.assym; - if (con->rel == RelThr) + if (con->reloc == RelThr) fprintf(f, "%%fs:%s%s@tpoff", p, l); else fprintf(f, "%s%s", p, l); @@ -340,7 +340,7 @@ Next: case RCon: off = fn->con[ref.val]; emitcon(&off, f); - if (off.type == CAddr && off.rel != RelThr) + if (off.type == CAddr && off.reloc != RelThr) fprintf(f, "(%%rip)"); break; case RTmp: -- cgit 1.4.1