Commit 97101fd6 authored by Matthias Braun's avatar Matthias Braun
Browse files

fix output of static variables after .comm change

parent acd93680
......@@ -533,7 +533,7 @@ static void dump_global(ia32_decl_env_t *env, ir_entity *ent, int emit_commons)
} else if (variability == variability_uninitialized) {
/* uninitialized entity put it in bss segment */
obst = env->bss_obst;
if(emit_commons)
if(emit_commons && visibility != visibility_local)
emit_as_common = 1;
}
......
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