From 6054882663557fd64c828fb36c8ac01cacc0c3b1 Mon Sep 17 00:00:00 2001 From: ghazi Date: Fri, 12 Nov 1999 18:47:03 +0000 Subject: [PATCH] * output.h (const_section, init_section, fini_section): Add prototypes. * alpha/elf.h (const_section): Delete declaration. * svr4.h (const_section): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30506 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 9 +++++++++ gcc/config/alpha/elf.h | 1 - gcc/config/svr4.h | 1 - gcc/output.h | 11 +++++++++++ 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 + + * 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 * 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. -- 2.7.4