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:
parent
40fe4dd5a8
commit
525996eb67
@ -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>
|
2003-10-27 Zack Weinberg <zack@codesourcery.com>
|
||||||
|
|
||||||
* c-decl.c (pushdecl): Clarify comment.
|
* c-decl.c (pushdecl): Clarify comment.
|
||||||
|
@ -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 (int, int); (IRIX 6.2)
|
||||||
struct in_addr inet_makeaddr (in_addr_t, in_addr_t); (IRIX 6.5) */
|
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
|
machreg_t
|
||||||
inet_makeaddr (machreg_t net, machreg_t lna)
|
inet_makeaddr (machreg_t net, machreg_t lna)
|
||||||
{
|
{
|
||||||
|
@ -129,6 +129,7 @@ extern void *__deregister_frame_info (void *)
|
|||||||
TARGET_ATTRIBUTE_WEAK;
|
TARGET_ATTRIBUTE_WEAK;
|
||||||
extern void *__deregister_frame_info_bases (void *)
|
extern void *__deregister_frame_info_bases (void *)
|
||||||
TARGET_ATTRIBUTE_WEAK;
|
TARGET_ATTRIBUTE_WEAK;
|
||||||
|
extern void __do_global_ctors_1 (void);
|
||||||
|
|
||||||
/* Likewise for _Jv_RegisterClasses. */
|
/* Likewise for _Jv_RegisterClasses. */
|
||||||
extern void _Jv_RegisterClasses (void *) TARGET_ATTRIBUTE_WEAK;
|
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
|
/* 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
|
not an SVR4-style .init section. __do_global_ctors can be non-static
|
||||||
in this case because we protect it with -hidden_symbol. */
|
in this case because we protect it with -hidden_symbol. */
|
||||||
extern void __do_global_ctors_1(void);
|
|
||||||
void
|
void
|
||||||
__do_global_ctors (void)
|
__do_global_ctors (void)
|
||||||
{
|
{
|
||||||
|
@ -34,6 +34,9 @@
|
|||||||
#include "tm.h"
|
#include "tm.h"
|
||||||
#include "dwarf2.h"
|
#include "dwarf2.h"
|
||||||
#include "unwind.h"
|
#include "unwind.h"
|
||||||
|
#ifdef __USING_SJLJ_EXCEPTIONS__
|
||||||
|
# define NO_SIZE_OF_ENCODED_VALUE
|
||||||
|
#endif
|
||||||
#include "unwind-pe.h"
|
#include "unwind-pe.h"
|
||||||
#include "unwind-dw2-fde.h"
|
#include "unwind-dw2-fde.h"
|
||||||
#include "gthr.h"
|
#include "gthr.h"
|
||||||
|
@ -182,7 +182,7 @@ _Unwind_GetGR (struct _Unwind_Context *context, int index)
|
|||||||
/* Get the value of the CFA as saved in CONTEXT. */
|
/* Get the value of the CFA as saved in CONTEXT. */
|
||||||
|
|
||||||
_Unwind_Word
|
_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. */
|
/* ??? Ideally __builtin_setjmp places the CFA in the jmpbuf. */
|
||||||
return NULL;
|
return NULL;
|
||||||
@ -223,7 +223,7 @@ _Unwind_GetRegionStart (struct _Unwind_Context *context __attribute__((unused))
|
|||||||
}
|
}
|
||||||
|
|
||||||
void *
|
void *
|
||||||
_Unwind_FindEnclosingFunction (void *pc)
|
_Unwind_FindEnclosingFunction (void *pc __attribute__((unused)))
|
||||||
{
|
{
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user