diff options
author | wood <wood@138bc75d-0d04-0410-961f-82ee72b054a4> | 1992-03-19 20:41:45 +0000 |
---|---|---|
committer | wood <wood@138bc75d-0d04-0410-961f-82ee72b054a4> | 1992-03-19 20:41:45 +0000 |
commit | b13ae905989939875f841b96cbf34b0e11fac4e2 (patch) | |
tree | 835f283d52c10e4198adffd60d81eb776bc62c10 /gcc/config/svr3.h | |
parent | 30e4ba0e6d406fc4edc0b180dda4afacc84462a1 (diff) | |
download | gcc-b13ae905989939875f841b96cbf34b0e11fac4e2.tar.gz |
*** empty log message ***
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@526 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/svr3.h')
-rw-r--r-- | gcc/config/svr3.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/gcc/config/svr3.h b/gcc/config/svr3.h index 112f8c21854..9e871537a2f 100644 --- a/gcc/config/svr3.h +++ b/gcc/config/svr3.h @@ -172,25 +172,25 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. unless the specific tm.h file turns it on by defining USE_CONST_SECTION as 1. */ -/* The support for constructors and destructors depends on two - machine-specific macros that the individual tm.h file has to define: +/* Define a few machine-specific details of the implementation of + constructors. - CTORS_SECTION_ASM_OP should be defined to concatenate - the macro INIT_SECTION_ASM_OP, a newline, and a push instruction - to push a word containing 0 (or some equivalent of that). + The __CTORS_LIST__ goes in the .init section. Define CTOR_LIST_BEGIN + and CTOR_LIST_END to contribute to the .init section an instruction to + push a word containing 0 (or some equivalent of that). - ASM_OUTPUT_CONSTRUCTOR should be defined - to push the address of the constructor. */ + Define ASM_OUTPUT_CONSTRUCTOR to push the address of the constructor. */ #define USE_CONST_SECTION 0 #define INIT_SECTION_ASM_OP ".section\t.init" #define FINI_SECTION_ASM_OP ".section .fini,\"x\"" #define CONST_SECTION_ASM_OP ".section\t.rodata, \"x\"" - +#define CTORS_SECTION_ASM_OP INIT_SECTION_ASM_OP #define DTORS_SECTION_ASM_OP FINI_SECTION_ASM_OP -/* CTORS_SECTION_ASM_OP is machine-dependent - because it pushes on the stack. */ + +/* CTOR_LIST_BEGIN and CTOR_LIST_END are machine-dependent + because they push on the stack. */ #define DO_GLOBAL_CTORS_BODY \ do { \ |