aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.4.3/gcc/config/rs6000/rs6000.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.4.3/gcc/config/rs6000/rs6000.c')
-rw-r--r--gcc-4.4.3/gcc/config/rs6000/rs6000.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc-4.4.3/gcc/config/rs6000/rs6000.c b/gcc-4.4.3/gcc/config/rs6000/rs6000.c
index bac3ef385..9c52e8cf1 100644
--- a/gcc-4.4.3/gcc/config/rs6000/rs6000.c
+++ b/gcc-4.4.3/gcc/config/rs6000/rs6000.c
@@ -20838,6 +20838,10 @@ rs6000_elf_asm_init_sections (void)
sdata2_section
= get_unnamed_section (SECTION_WRITE, output_section_asm_op,
SDATA2_SECTION_ASM_OP);
+
+#ifdef NO_CTORS_DTORS_SECTIONS
+ elf_initfini_array_init_sections ();
+#endif
}
/* Implement TARGET_SELECT_RTX_SECTION. */