summaryrefslogtreecommitdiff
path: root/gcc/crtstuff.c
diff options
context:
space:
mode:
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2003-10-28 03:47:37 +0000
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2003-10-28 03:47:37 +0000
commitdb0f4f32274ac3a70f90362918e093e9e336df4d (patch)
treeb2dac211d1828a68c5f2115c911571cd09002993 /gcc/crtstuff.c
parentd3612643b13c96546f6974df02836737ebcd6890 (diff)
downloadgcc-db0f4f32274ac3a70f90362918e093e9e336df4d.tar.gz
* 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: svn+ssh://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)
{