aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>1999-11-12 18:47:03 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>1999-11-12 18:47:03 +0000
commit4dc94be730cf8303fc9b0814922c93071e8e60bd (patch)
treec6b8abeb1fcdec4d8c2b2cbe32bb4f4af193cdbe /gcc
parentaafc9fd60d37df62284e8a7b73d4530795cce0b8 (diff)
downloadgcc-4dc94be730cf8303fc9b0814922c93071e8e60bd.zip
gcc-4dc94be730cf8303fc9b0814922c93071e8e60bd.tar.gz
gcc-4dc94be730cf8303fc9b0814922c93071e8e60bd.tar.bz2
output.h (const_section, [...]): Add prototypes.
* 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
Diffstat (limited to 'gcc')
-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.