output.h (const_section, [...]): Add prototypes.
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>
Fri, 12 Nov 1999 18:47:03 +0000 (18:47 +0000)
committerKaveh Ghazi <ghazi@gcc.gnu.org>
Fri, 12 Nov 1999 18:47:03 +0000 (18:47 +0000)
        * output.h (const_section, init_section, fini_section): Add
        prototypes.

        * alpha/elf.h (const_section): Delete declaration.

        * svr4.h (const_section): Likewise.

From-SVN: r30506

gcc/ChangeLog
gcc/config/alpha/elf.h
gcc/config/svr4.h
gcc/output.h

index fd09377553641b674a125d81ac42a277ad3fa631..a50237c5fbacc0041800be8cfb03d465205c05c4 100644 (file)
@@ -1,3 +1,12 @@
+Fri Nov 12 13:45:02 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * output.h (const_section, init_section, fini_section): Add
+       prototypes.
+
+       * alpha/elf.h (const_section): Delete declaration.
+
+       * svr4.h (const_section): Likewise.
+
 Fri Nov 12 08:54:22 1999  Mark Mitchell  <mark@codesourcery.com>
 
        * tree.h (SAVE_EXPR_PERSISTENT_P): New macro.
index f676009fe9ec19ad5dda31d89e8e07aaef62ea7f..42a82361def615a13b45aab5358ead1e47a41d56 100644 (file)
@@ -269,7 +269,6 @@ do {                                                                        \
 #define READONLY_DATA_SECTION() const_section ()
 
 #define CONST_SECTION_FUNCTION                                 \
-void const_section PROTO ((void));                             \
 void                                                           \
 const_section ()                                               \
 {                                                              \
index 3547eb4c2a9c8550f833ec58887961ae5a60430e..378db97fb02992cc952051e46234815ea73a173e 100644 (file)
@@ -486,7 +486,6 @@ do {                                                                        \
 
 #define READONLY_DATA_SECTION() const_section ()
 
-extern void const_section PARAMS ((void));
 #define CONST_SECTION_FUNCTION                                         \
 void                                                                   \
 const_section ()                                                       \
index 8894da0efda00b299b60f950e63c1d9e21dbf1e1..ce2e328db96648dbcd7b605b78238c27e0ef071e 100644 (file)
@@ -171,6 +171,17 @@ extern void dtors_section PARAMS ((void));
 extern void bss_section PARAMS ((void));
 #endif
 
+#ifdef CONST_SECTION_ASM_OP
+extern void const_section PARAMS ((void));
+#endif
+
+#ifdef INIT_SECTION_ASM_OP
+extern void init_section PARAMS ((void));
+#endif
+
+#ifdef FINI_SECTION_ASM_OP
+extern void fini_section PARAMS ((void));
+#endif
 
 #ifdef TREE_CODE
 /* Tell assembler to change to section NAME for DECL.