aboutsummaryrefslogtreecommitdiff
path: root/i386-gen.c
diff options
context:
space:
mode:
authorbellard <bellard>2001-12-22 17:05:23 +0000
committerbellard <bellard>2001-12-22 17:05:23 +0000
commit498551188e84ac5297db8a7e025fd0beef7b50e3 (patch)
treeec3c04e07daac603d32e1f2c67b0857560658bd3 /i386-gen.c
parentf7181903bbd897e9ed43c13fdeeff46aae972582 (diff)
downloadtinycc-498551188e84ac5297db8a7e025fd0beef7b50e3.tar.gz
tinycc-498551188e84ac5297db8a7e025fd0beef7b50e3.tar.bz2
last patches to separate type and value handling
Diffstat (limited to 'i386-gen.c')
-rw-r--r--i386-gen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/i386-gen.c b/i386-gen.c
index b52eec9..8e7c2f4 100644
--- a/i386-gen.c
+++ b/i386-gen.c
@@ -122,7 +122,7 @@ void greloc_patch(Sym *s, int val)
p = p1;
}
s->c = val;
- s->t &= ~VT_FORWARD;
+ s->r &= ~VT_FORWARD;
}
/* output a symbol and patch all calls to it */