From: Michael Beck Date: Wed, 6 Sep 2006 16:39:52 +0000 (+0000) Subject: uses new section attribute X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=9e8748f919d205d54068c6d10f472a1c79067b41;p=libfirm uses new section attribute --- diff --git a/ir/be/ia32/ia32_gen_decls.c b/ir/be/ia32/ia32_gen_decls.c index 30cb53bda..a98d6c6cf 100644 --- a/ir/be/ia32/ia32_gen_decls.c +++ b/ir/be/ia32/ia32_gen_decls.c @@ -584,7 +584,7 @@ static void dump_global(const arch_env_t *arch_env, } } } /* ! is method type */ - else if (ctor_obstack && arch_ent_is_constructor(arch_env, ent)) { + else if (ctor_obstack && get_method_img_section(ent) == section_constructors) { ia32_dump_align(ctor_obstack, get_type_alignment_bytes(ty)); dump_size_type(ctor_obstack, get_type_alignment_bytes(ty)); obstack_printf(ctor_obstack, "%s\n", ld_name);