Commit c300b600 authored by Matthias Braun's avatar Matthias Braun
Browse files

compiler library entities should be visibility_external

parent b152c943
......@@ -424,7 +424,7 @@ static ir_entity *create_compiler_lib_entity(const char *name, ir_type *type)
id = id_mangle3("__", id, "");
}
entity = new_entity(glob, id, type);
set_entity_visibility(entity, ir_visibility_local);
set_entity_visibility(entity, ir_visibility_external);
set_entity_ld_ident(entity, id);
return entity;
}
......
......@@ -2721,5 +2721,6 @@ ir_entity *def_create_intrinsic_fkt(ir_type *method, const ir_op *op,
ent = new_entity(get_glob_type(), id, method);
set_entity_ld_ident(ent, get_entity_ident(ent));
set_entity_visibility(ent, ir_visibility_external);
return ent;
}
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