From: Michael Beck Date: Wed, 6 Sep 2006 16:37:35 +0000 (+0000) Subject: used new section attribute X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=b1ad612a928af6731cbc455faaf5dc0c2ef7a4db;p=libfirm used new section attribute --- diff --git a/ir/be/bemain.c b/ir/be/bemain.c index 63598d3cd..fa32cb946 100644 --- a/ir/be/bemain.c +++ b/ir/be/bemain.c @@ -467,7 +467,7 @@ static void be_main_loop(FILE *file_handle, const char *asm_file_name) ir_graph *prof_init_irg = be_profile_instrument(prof_filename); initialize_birg(&birgs[num_birgs], prof_init_irg, &env); num_birgs++; - pset_insert_ptr(env.arch_env->constructor_entities, get_irg_entity(prof_init_irg)); + set_method_img_section(get_irg_entity(prof_init_irg), section_constructors); } else { be_profile_read(prof_filename);