output.h (ctors_section, [...]): Prototype.
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>
Sun, 24 Oct 1999 19:38:53 +0000 (19:38 +0000)
committerKaveh Ghazi <ghazi@gcc.gnu.org>
Sun, 24 Oct 1999 19:38:53 +0000 (19:38 +0000)
* 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.

From-SVN: r30145

18 files changed:
gcc/ChangeLog
gcc/config/alpha/alpha-interix.h
gcc/config/alpha/elf.h
gcc/config/arm/linux-elf.h
gcc/config/arm/linux-telf.h
gcc/config/c4x/c4x.h
gcc/config/dsp16xx/dsp16xx.h
gcc/config/elfos.h
gcc/config/i386/aix386ng.h
gcc/config/i386/i386-interix.h
gcc/config/i386/sco5.h
gcc/config/i386/svr3gas.h
gcc/config/nextstep.h
gcc/config/psos.h
gcc/config/ptx4.h
gcc/config/svr3.h
gcc/config/svr4.h
gcc/output.h

index 49c2c36f5dcb9e117333def28098c9c17d49beab..5210eea10782d7ea1c6bfe4408baccfbcbabbf0e 100644 (file)
@@ -1,3 +1,24 @@
+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.
index f90d06f506a6e327b205ec40bcfc7dec33c47040..5e6bc02868fdfc89e607636993e7ebfbebde9ca1 100644 (file)
@@ -121,8 +121,6 @@ Boston, MA 02111-1307, USA.  */
 #undef READONLY_DATA_SECTION
 #define READONLY_DATA_SECTION() const_section ()
 
-extern void text_section ();
-
 #define CONST_SECTION_FUNCTION                                         \
 void                                                                   \
 const_section ()                                                       \
index a4e1acc1c9c02ef145be52a0cf054a1b671b08b5..cb63845de61f047d786a11ffc5e30467d1dbbf88 100644 (file)
@@ -268,8 +268,6 @@ do {                                                                        \
 #undef READONLY_DATA_SECTION
 #define READONLY_DATA_SECTION() const_section ()
 
-extern void text_section ();
-
 #define CONST_SECTION_FUNCTION                                 \
 void const_section PROTO ((void));                             \
 void                                                           \
index 39054902ba34c5fe0bf61702e351f294cda9800a..87fc6784e592894925ddc8a01dd0089599288d34 100644 (file)
@@ -166,8 +166,6 @@ do {                                                                \
    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                                         \
index 8be385295c321c6b22c08cf8c4786d657973b519..dd730d864726195ea59621dc99a16f82b5eac446 100644 (file)
@@ -125,8 +125,6 @@ Boston, MA 02111-1307, USA.  */
    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                                         \
index 5644ee2c0754ed8b1dd5cd6e9408f1adb4ab2ec0..20a58350c3c15059decbf82af9c9b5da92b22ad3 100644 (file)
@@ -1940,7 +1940,6 @@ fini_section ()                                                   \
 void                                                                   \
 const_section ()                                                       \
 {                                                                      \
-  extern void text_section();                                          \
   if (! USE_CONST_SECTION)                                             \
     text_section();                                                    \
   else if (in_section != in_const)                                     \
index 320a2a120df66904f3d6ee85993538b4c3e1c967..5d96207e2a7680bb4118f4a2a64ee883b6b1e091 100644 (file)
@@ -72,7 +72,6 @@ extern void function_epilogue ();
 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 ();
index a23805e8a848674afacec39717c09b4bc554ce0c..ad88b1e326c4bb019a270ef0bda88861294d2deb 100644 (file)
@@ -280,8 +280,6 @@ do {                                                                        \
 
 #define READONLY_DATA_SECTION() const_section ()
 
-extern void text_section ();
-
 #define CONST_SECTION_FUNCTION                                         \
 void                                                                   \
 const_section ()                                                       \
index 9a8dae632c3aad070a9b167a6be51ebe4e45c6b5..521dd946f9d9f01c0876d497ff904fe5d2bd72ff 100644 (file)
@@ -124,7 +124,6 @@ Boston, MA 02111-1307, USA.  */
 void                                                                   \
 const_section ()                                                       \
 {                                                                      \
-  extern void text_section();                                          \
   text_section();                                                      \
 }
 
index 30017be1a503213abdc525486c551138d2affac3..70b8bc4bd70710863b620784405949f9134b1120 100644 (file)
@@ -304,8 +304,6 @@ Boston, MA 02111-1307, USA.  */
 #undef READONLY_DATA_SECTION
 #define READONLY_DATA_SECTION() const_section ()
 
-extern void text_section ();
-
 #define CONST_SECTION_FUNCTION                                         \
 void                                                                   \
 const_section ()                                                       \
index bea9ede3bbfbe89dff0e1cc5b41c04cb08d8ff03..0790e38f140975cf5f9262ed531823bfce21a3a9 100644 (file)
@@ -590,7 +590,6 @@ do {                                                                        \
 void                                                                   \
 const_section ()                                                       \
 {                                                                      \
-  extern void text_section();                                          \
   if (!USE_CONST_SECTION)                                              \
     text_section();                                                    \
   else if (in_section != in_const)                                     \
index a288b84e5240af109ae0df35a4dc8f6e1c3f2c70..308aa5a35a972208d0ac85e95089ac3e41a37593 100644 (file)
@@ -178,7 +178,6 @@ fini_section ()                                                     \
 void                                                                   \
 const_section ()                                                       \
 {                                                                      \
-  extern void text_section();                                          \
   if (!USE_CONST_SECTION)                                              \
     text_section();                                                    \
   else if (in_section != in_const)                                     \
index ea56709d9c92e1ccffe6ac64246bb963b2ef9095..05d1bd40fee3e1df345846f6f11cc186d86f1689 100644 (file)
@@ -322,7 +322,6 @@ extern int handle_pragma ();
 void                                                                   \
 FUNCTION ()                                                            \
 {                                                                      \
-  extern void text_section ();                                         \
   extern void objc_section_init ();                                    \
   extern int flag_no_mach_text_sections;                               \
                                                                        \
index 23a41e1d1324c7edb9a081119ac8668505d06702..1d3b2f885524cf51e0dd214b1cdc19f093eb0fd5 100644 (file)
@@ -116,8 +116,6 @@ while (0)
   CTORS_SECTION_FUNCTION                                               \
   DTORS_SECTION_FUNCTION
 
-extern void text_section ();
-
 #define CTORS_SECTION_FUNCTION                                         \
 void                                                                   \
 ctors_section ()                                                       \
index 3a6a572b3247f0d0c94f8880341284c1fd5302cf..5580ed961381b24bc2c68f0d16d7926e1ddbae57 100644 (file)
@@ -497,8 +497,6 @@ do {                                                                        \
 
 #define READONLY_DATA_SECTION() const_section ()
 
-extern void text_section ();
-
 #define CONST_SECTION_FUNCTION                                         \
 void                                                                   \
 const_section ()                                                       \
index 3475561799b4ecc81e2239fdcc574f700e8f710c..a32a56b0894f12684e9b4ebd45d8ff557f99fb72 100644 (file)
@@ -288,7 +288,6 @@ fini_section ()                                                     \
 void                                                                   \
 const_section ()                                                       \
 {                                                                      \
-  extern void text_section();                                          \
   if (!USE_CONST_SECTION)                                              \
     text_section();                                                    \
   else if (in_section != in_const)                                     \
index 3793b876589f13fb2777bb2d5d66bc839954580e..b2d91185693cfdac3db6e431bcffa349545264aa 100644 (file)
@@ -486,8 +486,6 @@ do {                                                                        \
 
 #define READONLY_DATA_SECTION() const_section ()
 
-extern void text_section PARAMS ((void));
-
 extern void const_section PARAMS ((void));
 #define CONST_SECTION_FUNCTION                                         \
 void                                                                   \
@@ -502,7 +500,6 @@ const_section ()                                                    \
     }                                                                  \
 }
 
-extern void ctors_section PARAMS ((void));
 #define CTORS_SECTION_FUNCTION                                         \
 void                                                                   \
 ctors_section ()                                                       \
@@ -514,7 +511,6 @@ ctors_section ()                                                    \
     }                                                                  \
 }
 
-extern void dtors_section PARAMS ((void));
 #define DTORS_SECTION_FUNCTION                                         \
 void                                                                   \
 dtors_section ()                                                       \
index d3fb02c33c85dd62d1244eb38b10fb04f41e9d67..aeba9fd95b257d518b6767682e1dc7dedaa3641b 100644 (file)
@@ -159,6 +159,19 @@ extern int in_text_section         PROTO((void));
 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.