summaryrefslogtreecommitdiff
path: root/gcc/crtstuff.c
diff options
context:
space:
mode:
authorro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>2003-11-21 19:48:24 +0000
committerro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>2003-11-21 19:48:24 +0000
commiteb7ed20c27f44dc576e8918aa11fa1fb04333042 (patch)
tree70aecc02d7d88b57c0499a2e3f406fc364dcd8a1 /gcc/crtstuff.c
parentc12b3a6556f9f14dfead69c49adce7f7088008a2 (diff)
downloadgcc-eb7ed20c27f44dc576e8918aa11fa1fb04333042.tar.gz
* config/mips/t-iris6 (CRTSTUFF_T_CFLAGS): Add -Wno-error.
(TARGET_LIBGCC2_CFLAGS): Define. * crtstuff.c [HAS_INIT_SECTION] (__do_global_dtors): Declare. (__do_global_ctors): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73811 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/crtstuff.c')
-rw-r--r--gcc/crtstuff.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/crtstuff.c b/gcc/crtstuff.c
index dd24b7375c8..b9a29a0ba60 100644
--- a/gcc/crtstuff.c
+++ b/gcc/crtstuff.c
@@ -362,6 +362,8 @@ __do_global_ctors_aux (void) /* prologue goes in .init section */
#elif defined(HAS_INIT_SECTION) /* ! INIT_SECTION_ASM_OP */
+extern void __do_global_dtors (void);
+
/* This case is used by the Irix 6 port, which supports named sections but
not an SVR4-style .fini section. __do_global_dtors can be non-static
in this case because we protect it with -hidden_symbol. */
@@ -508,6 +510,8 @@ asm (TEXT_SECTION_ASM_OP);
#elif defined(HAS_INIT_SECTION) /* ! INIT_SECTION_ASM_OP */
+extern void __do_global_ctors (void);
+
/* This case is used by the Irix 6 port, which supports named sections but
not an SVR4-style .init section. __do_global_ctors can be non-static
in this case because we protect it with -hidden_symbol. */