irix6-libc-compat.c (inet_makeaddr): Prototype.

* 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)).

From-SVN: r72999
This commit is contained in:
Kaveh R. Ghazi 2003-10-28 03:47:37 +00:00 committed by Kaveh Ghazi
parent 40fe4dd5a8
commit 525996eb67
5 changed files with 17 additions and 3 deletions

View File

@ -1,3 +1,12 @@
2003-10-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* 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)).
2003-10-27 Zack Weinberg <zack@codesourcery.com>
* c-decl.c (pushdecl): Clarify comment.

View File

@ -73,6 +73,8 @@ extern machreg_t _inet_makeaddr (machreg_t, machreg_t);
struct in_addr inet_makeaddr (int, int); (IRIX 6.2)
struct in_addr inet_makeaddr (in_addr_t, in_addr_t); (IRIX 6.5) */
extern machreg_t inet_makeaddr (machreg_t, machreg_t);
machreg_t
inet_makeaddr (machreg_t net, machreg_t lna)
{

View File

@ -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)
{

View File

@ -34,6 +34,9 @@
#include "tm.h"
#include "dwarf2.h"
#include "unwind.h"
#ifdef __USING_SJLJ_EXCEPTIONS__
# define NO_SIZE_OF_ENCODED_VALUE
#endif
#include "unwind-pe.h"
#include "unwind-dw2-fde.h"
#include "gthr.h"

View File

@ -182,7 +182,7 @@ _Unwind_GetGR (struct _Unwind_Context *context, int index)
/* Get the value of the CFA as saved in CONTEXT. */
_Unwind_Word
_Unwind_GetCFA (struct _Unwind_Context *context)
_Unwind_GetCFA (struct _Unwind_Context *context __attribute__((unused)))
{
/* ??? Ideally __builtin_setjmp places the CFA in the jmpbuf. */
return NULL;
@ -223,7 +223,7 @@ _Unwind_GetRegionStart (struct _Unwind_Context *context __attribute__((unused))
}
void *
_Unwind_FindEnclosingFunction (void *pc)
_Unwind_FindEnclosingFunction (void *pc __attribute__((unused)))
{
return NULL;
}