* output.h (init_section, fini_section): Delete.
* varasm.c (init_section, fini_section): Delete.
(init_varasm_once): Don't initialize them.
* doc/tm.texi (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP): Say that
there are no corresponding varasm.c variables.
From-SVN: r108338
+2005-12-10 Richard Sandiford <richard@codesourcery.com>
+
+ * output.h (init_section, fini_section): Delete.
+ * varasm.c (init_section, fini_section): Delete.
+ (init_varasm_once): Don't initialize them.
+ * doc/tm.texi (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP): Say that
+ there are no corresponding varasm.c variables.
+
2005-12-10 Richard Sandiford <richard@codesourcery.com>
* dwarf2out.c (default_eh_frame_section): Delete, moving handling
If defined, a C expression whose value is a string, including spacing,
containing the assembler operation to identify the following data as
initialization code. If not defined, GCC will assume such a section does
-not exist.
+not exist. This section has no corresponding @code{init_section}
+variable; it is used entirely in runtime code.
@end defmac
@defmac FINI_SECTION_ASM_OP
If defined, a C expression whose value is a string, including spacing,
containing the assembler operation to identify the following data as
finalization code. If not defined, GCC will assume such a section does
-not exist.
+not exist. This section has no corresponding @code{fini_section}
+variable; it is used entirely in runtime code.
@end defmac
@defmac INIT_ARRAY_SECTION_ASM_OP
extern GTY(()) section *dtors_section;
extern GTY(()) section *bss_section;
extern GTY(()) section *sbss_section;
-extern GTY(()) section *init_section;
-extern GTY(()) section *fini_section;
extern GTY(()) section *exception_section;
extern GTY(()) section *eh_frame_section;
section *dtors_section;
section *bss_section;
section *sbss_section;
-section *init_section;
-section *fini_section;
/* The section that holds the main exception table, when known. The section
is set either by the target's init_sections hook or by the first call to
SBSS_SECTION_ASM_OP);
#endif
-#ifdef INIT_SECTION_ASM_OP
- init_section = get_unnamed_section (SECTION_CODE, output_section_asm_op,
- INIT_SECTION_ASM_OP);
-#endif
-
-#ifdef FINI_SECTION_ASM_OP
- fini_section = get_unnamed_section (SECTION_CODE, output_section_asm_op,
- FINI_SECTION_ASM_OP);
-#endif
-
targetm.asm_out.init_sections ();
if (readonly_data_section == NULL)