do not drop relocation kind in alias analysis

This commit is contained in:
Quentin Carbonneaux 2022-09-09 17:54:06 +02:00
parent 00a30954ac
commit 2e38c86af6
3 changed files with 3 additions and 1 deletions

2
load.c
View file

@ -155,7 +155,7 @@ load(Slice sl, bits msk, Loc *l)
c.type = CAddr;
c.label = a->label;
c.bits.i = a->offset;
c.rel = RelDef;
c.rel = a->rel;
r = newcon(&c, curf);
break;
}