aboutsummaryrefslogtreecommitdiff
path: root/gcc/crtstuff.c
diff options
context:
space:
mode:
authorKaveh Ghazi <ghazi@caip.rutgers.edu>2003-10-28 03:47:37 +0000
committerKaveh Ghazi <ghazi@caip.rutgers.edu>2003-10-28 03:47:37 +0000
commit40530d250b83105b4c9e1d7de9bcbd5ab6d42e88 (patch)
treeb2dac211d1828a68c5f2115c911571cd09002993 /gcc/crtstuff.c
parentcd9e81b25f0c614ce107db06e188b20cde90683e (diff)
* config/mips/irix6-libc-compat.c (inet_makeaddr): Prototype.
* crtstuff.c (__do_global_ctors_1): Move prototype. * unwind-dw2.c (NO_SIZE_OF_ENCODED_VALUE): Define when appropriate. * unwind-sjlj.c (_Unwind_GetCFA, _Unwind_FindEnclosingFunction): Mark parameter with __attribute__((unused)). git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@72999 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/crtstuff.c')
-rw-r--r--gcc/crtstuff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/crtstuff.c b/gcc/crtstuff.c
index a5c46d602a5..fa3d7652268 100644
--- a/gcc/crtstuff.c
+++ b/gcc/crtstuff.c
@@ -129,6 +129,7 @@ extern void *__deregister_frame_info (void *)
TARGET_ATTRIBUTE_WEAK;
extern void *__deregister_frame_info_bases (void *)
TARGET_ATTRIBUTE_WEAK;
+extern void __do_global_ctors_1 (void);
/* Likewise for _Jv_RegisterClasses. */
extern void _Jv_RegisterClasses (void *) TARGET_ATTRIBUTE_WEAK;
@@ -510,7 +511,6 @@ asm (TEXT_SECTION_ASM_OP);
/* 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. */
-extern void __do_global_ctors_1(void);
void
__do_global_ctors (void)
{