Commit ebdbbe0f authored by Russ Cox's avatar Russ Cox

fix amd64 build

R=ken
OCL=32771
CL=32771
parent a1214105
...@@ -360,9 +360,9 @@ datastring(char *s, int len, Addr *a) ...@@ -360,9 +360,9 @@ datastring(char *s, int len, Addr *a)
*a = ao; *a = ao;
// only generate data the first time. // only generate data the first time.
if(ao.sym->uniq) if(ao.sym->flags & SymUniq)
return; return;
ao.sym->uniq = 1; ao.sym->flags |= SymUniq;
data(); data();
for(w=0; w<len; w+=8) { for(w=0; w<len; w+=8) {
...@@ -440,9 +440,9 @@ datagostring(Strlit *sval, Addr *a) ...@@ -440,9 +440,9 @@ datagostring(Strlit *sval, Addr *a)
} }
*a = ao; *a = ao;
if(ao.sym->uniq) if(ao.sym->flags & SymUniq)
return; return;
ao.sym->uniq = 1; ao.sym->flags |= SymUniq;
data(); data();
// DATA gostring, wp, $cstring // DATA gostring, wp, $cstring
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment