From af8e5a0e1906ddca9cd8f289bfc2d7f914bff5a3 Mon Sep 17 00:00:00 2001 From: Rainer Orth Date: Fri, 21 Nov 2003 19:48:24 +0000 Subject: t-iris6 (CRTSTUFF_T_CFLAGS): Add -Wno-error. * 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. From-SVN: r73811 --- gcc/crtstuff.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gcc/crtstuff.c') diff --git a/gcc/crtstuff.c b/gcc/crtstuff.c index dd24b73..b9a29a0b 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. */ -- cgit v1.1