Commit 4dc94be7 by Kaveh R. Ghazi Committed by Kaveh Ghazi

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
parent aafc9fd6
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> Fri Nov 12 08:54:22 1999 Mark Mitchell <mark@codesourcery.com>
* tree.h (SAVE_EXPR_PERSISTENT_P): New macro. * tree.h (SAVE_EXPR_PERSISTENT_P): New macro.
......
...@@ -269,7 +269,6 @@ do { \ ...@@ -269,7 +269,6 @@ do { \
#define READONLY_DATA_SECTION() const_section () #define READONLY_DATA_SECTION() const_section ()
#define CONST_SECTION_FUNCTION \ #define CONST_SECTION_FUNCTION \
void const_section PROTO ((void)); \
void \ void \
const_section () \ const_section () \
{ \ { \
......
...@@ -486,7 +486,6 @@ do { \ ...@@ -486,7 +486,6 @@ do { \
#define READONLY_DATA_SECTION() const_section () #define READONLY_DATA_SECTION() const_section ()
extern void const_section PARAMS ((void));
#define CONST_SECTION_FUNCTION \ #define CONST_SECTION_FUNCTION \
void \ void \
const_section () \ const_section () \
......
...@@ -171,6 +171,17 @@ extern void dtors_section PARAMS ((void)); ...@@ -171,6 +171,17 @@ extern void dtors_section PARAMS ((void));
extern void bss_section PARAMS ((void)); extern void bss_section PARAMS ((void));
#endif #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 #ifdef TREE_CODE
/* Tell assembler to change to section NAME for DECL. /* Tell assembler to change to section NAME for DECL.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment