aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog9
-rw-r--r--gcc/config/alpha/elf.h1
-rw-r--r--gcc/config/svr4.h1
-rw-r--r--gcc/output.h11
4 files changed, 20 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index fd09377..a50237c 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/config/alpha/elf.h b/gcc/config/alpha/elf.h
index f676009..42a8236 100644
--- a/gcc/config/alpha/elf.h
+++ b/gcc/config/alpha/elf.h
@@ -269,7 +269,6 @@ do { \
#define READONLY_DATA_SECTION() const_section ()
#define CONST_SECTION_FUNCTION \
-void const_section PROTO ((void)); \
void \
const_section () \
{ \
diff --git a/gcc/config/svr4.h b/gcc/config/svr4.h
index 3547eb4..378db97 100644
--- a/gcc/config/svr4.h
+++ b/gcc/config/svr4.h
@@ -486,7 +486,6 @@ do { \
#define READONLY_DATA_SECTION() const_section ()
-extern void const_section PARAMS ((void));
#define CONST_SECTION_FUNCTION \
void \
const_section () \
diff --git a/gcc/output.h b/gcc/output.h
index 8894da0..ce2e328 100644
--- a/gcc/output.h
+++ b/gcc/output.h
@@ -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.