diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1995-08-13 21:26:00 -0400 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1995-08-13 21:26:00 -0400 |
commit | 8c3edecd1bde7c4d2e358b53e662086f919229d4 (patch) | |
tree | c20710a9730e2019506feacefa177d2047be568d /gcc/config/mips/iris6.h | |
parent | fabd69e8324a8aa1c5ba70e133b0c19aa01b6d58 (diff) | |
download | gcc-8c3edecd1bde7c4d2e358b53e662086f919229d4.zip gcc-8c3edecd1bde7c4d2e358b53e662086f919229d4.tar.gz gcc-8c3edecd1bde7c4d2e358b53e662086f919229d4.tar.bz2 |
(INIT_SECTION_ASM_OP): Don't define.
(LD_INIT_SWITCH, LD_FINI_SWITCH, HAS_INIT_SECTION): Don't undef.
(ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Ifdef out.
From-SVN: r10226
Diffstat (limited to 'gcc/config/mips/iris6.h')
-rw-r--r-- | gcc/config/mips/iris6.h | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/gcc/config/mips/iris6.h b/gcc/config/mips/iris6.h index 36e51d8..e07b38b 100644 --- a/gcc/config/mips/iris6.h +++ b/gcc/config/mips/iris6.h @@ -1,5 +1,5 @@ /* Definitions of target machine for GNU compiler. Iris version 6. - Copyright (C) 1994 Free Software Foundation, Inc. + Copyright (C) 1994, 1995 Free Software Foundation, Inc. This file is part of GNU CC. @@ -57,12 +57,6 @@ Boston, MA 02111-1307, USA. */ #define POPSECTION_ASM_OP ".popsection" -/* To enable use of init and fini sections. */ -#define INIT_SECTION_ASM_OP ".section\t.init" -#undef LD_INIT_SWITCH -#undef LD_FINI_SWITCH -#undef HAS_INIT_SECTION - #define DEBUG_SECTION ".debug,1,0,0,1" #define LINE_SECTION ".line,1,0,0,1" #define SFNAMES_SECTION ".debug_sfnames,1,0,0,1" @@ -111,6 +105,12 @@ Boston, MA 02111-1307, USA. */ /* Stuff for constructors. Start here. */ +/* The assembler now accepts .section pseudo-ops, but it does not allow + one to change the section in the middle of a function. crtstuff relies + on this hack, and thus crtstuff won't work here. So, we do init and + fini sections exactly the same way as they are done for Irix 5, and + we ifdef out the ASM_OUTPUT_{CON,DE}STRUCTOR macros below. */ + #define CONST_SECTION_ASM_OP_32 "\t.rdata" #define CONST_SECTION_ASM_OP_64 ".section\t.rodata" #define CTORS_SECTION_ASM_OP ".section\t.ctors,1,2,0,4" @@ -185,6 +185,8 @@ dtors_section () \ } \ } +#if 0 + /* A C statement (sans semicolon) to output an element in the table of global constructors. */ #define ASM_OUTPUT_CONSTRUCTOR(FILE,NAME) \ @@ -205,6 +207,8 @@ dtors_section () \ fprintf (FILE, "\n"); \ } while (0) +#endif + /* Stuff for constructors. End here. */ /* ??? Perhaps just include svr4.h in this file? */ |