summary refs log tree commit diff
path: root/alias.c
diff options
context:
space:
mode:
Diffstat (limited to 'alias.c')
-rw-r--r--alias.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/alias.c b/alias.c
index f4d7f91..b4bb0fb 100644
--- a/alias.c
+++ b/alias.c
@@ -19,7 +19,7 @@ getalias(Alias *a, Ref r, Fn *fn)
 		if (c->type == CAddr) {
 			a->type = ASym;
 			a->label = c->label;
-			a->rel = c->rel;
+			a->reloc = c->reloc;
 		} else
 			a->type = ACon;
 		a->offset = c->bits.i;