From: Kaveh R. Ghazi Date: Fri, 12 Nov 1999 18:47:03 +0000 (+0000) Subject: output.h (const_section, [...]): Add prototypes. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4dc94be730cf8303fc9b0814922c93071e8e60bd;p=gcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index fd093775536..a50237c5fba 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 f676009fe9e..42a82361def 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 3547eb4c2a9..378db97fb02 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 8894da0efda..ce2e328db96 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.