* alpha/alpha-interix.h (text_section): Delete prototype.
* alpha/elf.h (text_section): Likewise.
* arm/linux-elf.h (text_section): Likewise.
* arm/linux-telf.h (text_section): Likewise.
* c4x/c4x.h (text_section): Likewise.
* dsp16xx/dsp16xx.h (bss_section): Likewise.
* elfos.h (text_section): Likewise.
* i386/aix386ng.h (text_section): Likewise.
* i386/i386-interix.h (text_section): Likewise.
* i386/sco5.h (text_section): Likewise.
* i386/svr3gas.h (text_section): Likewise.
* nextstep.h (text_section): Likewise.
* psos.h (text_section): Likewise.
* ptx4.h (text_section): Likewise.
* svr3.h (text_section): Likewise.
* svr4.h (text_section, ctors_section, dtors_section): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30145
138bc75d-0d04-0410-961f-
82ee72b054a4
+Sun Oct 24 15:35:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * output.h (ctors_section, dtors_section, bss_section): Prototype.
+
+ * alpha/alpha-interix.h (text_section): Delete prototype.
+ * alpha/elf.h (text_section): Likewise.
+ * arm/linux-elf.h (text_section): Likewise.
+ * arm/linux-telf.h (text_section): Likewise.
+ * c4x/c4x.h (text_section): Likewise.
+ * dsp16xx/dsp16xx.h (bss_section): Likewise.
+ * elfos.h (text_section): Likewise.
+ * i386/aix386ng.h (text_section): Likewise.
+ * i386/i386-interix.h (text_section): Likewise.
+ * i386/sco5.h (text_section): Likewise.
+ * i386/svr3gas.h (text_section): Likewise.
+ * nextstep.h (text_section): Likewise.
+ * psos.h (text_section): Likewise.
+ * ptx4.h (text_section): Likewise.
+ * svr3.h (text_section): Likewise.
+ * svr4.h (text_section, ctors_section, dtors_section): Likewise.
+
Sun Oct 24 15:20:59 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* final.c (peephole): Delete prototype.
#undef READONLY_DATA_SECTION
#define READONLY_DATA_SECTION() const_section ()
-extern void text_section ();
-
#define CONST_SECTION_FUNCTION \
void \
const_section () \
#undef READONLY_DATA_SECTION
#define READONLY_DATA_SECTION() const_section ()
-extern void text_section ();
-
#define CONST_SECTION_FUNCTION \
void const_section PROTO ((void)); \
void \
definition in the target-specific file which includes this file. */
#define SUBTARGET_EXTRA_SECTION_FUNCTIONS CONST_SECTION_FUNCTION
-extern void text_section ();
-
#define CONST_SECTION_ASM_OP ".section\t.rodata"
#define CONST_SECTION_FUNCTION \
definition in the target-specific file which includes this file. */
#define SUBTARGET_EXTRA_SECTION_FUNCTIONS CONST_SECTION_FUNCTION
-extern void text_section ();
-
#define CONST_SECTION_ASM_OP ".section\t.rodata"
#define CONST_SECTION_FUNCTION \
void \
const_section () \
{ \
- extern void text_section(); \
if (! USE_CONST_SECTION) \
text_section(); \
else if (in_section != in_const) \
extern int dsp1600_comparison_reverse ();
extern void double_reg_from_memory ();
extern void double_reg_to_memory ();
-extern void bss_section ();
extern struct rtx_def *dsp16xx_function_arg ();
extern void dsp16xx_function_arg_advance ();
extern enum rtx_code next_cc_user_code ();
#define READONLY_DATA_SECTION() const_section ()
-extern void text_section ();
-
#define CONST_SECTION_FUNCTION \
void \
const_section () \
void \
const_section () \
{ \
- extern void text_section(); \
text_section(); \
}
#undef READONLY_DATA_SECTION
#define READONLY_DATA_SECTION() const_section ()
-extern void text_section ();
-
#define CONST_SECTION_FUNCTION \
void \
const_section () \
void \
const_section () \
{ \
- extern void text_section(); \
if (!USE_CONST_SECTION) \
text_section(); \
else if (in_section != in_const) \
void \
const_section () \
{ \
- extern void text_section(); \
if (!USE_CONST_SECTION) \
text_section(); \
else if (in_section != in_const) \
void \
FUNCTION () \
{ \
- extern void text_section (); \
extern void objc_section_init (); \
extern int flag_no_mach_text_sections; \
\
CTORS_SECTION_FUNCTION \
DTORS_SECTION_FUNCTION
-extern void text_section ();
-
#define CTORS_SECTION_FUNCTION \
void \
ctors_section () \
#define READONLY_DATA_SECTION() const_section ()
-extern void text_section ();
-
#define CONST_SECTION_FUNCTION \
void \
const_section () \
void \
const_section () \
{ \
- extern void text_section(); \
if (!USE_CONST_SECTION) \
text_section(); \
else if (in_section != in_const) \
#define READONLY_DATA_SECTION() const_section ()
-extern void text_section PARAMS ((void));
-
extern void const_section PARAMS ((void));
#define CONST_SECTION_FUNCTION \
void \
} \
}
-extern void ctors_section PARAMS ((void));
#define CTORS_SECTION_FUNCTION \
void \
ctors_section () \
} \
}
-extern void dtors_section PARAMS ((void));
#define DTORS_SECTION_FUNCTION \
void \
dtors_section () \
extern void eh_frame_section PROTO ((void));
#endif
+#ifdef CTORS_SECTION_ASM_OP
+extern void ctors_section PARAMS ((void));
+#endif
+
+#ifdef DTORS_SECTION_ASM_OP
+extern void dtors_section PARAMS ((void));
+#endif
+
+#ifdef BSS_SECTION_ASM_OP
+extern void bss_section PARAMS ((void));
+#endif
+
+
#ifdef TREE_CODE
/* Tell assembler to change to section NAME for DECL.
If DECL is NULL, just switch to section NAME.