summaryrefslogtreecommitdiff
path: root/gcc/unwind-dw2.c
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>2003-10-28 03:47:37 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>2003-10-28 03:47:37 +0000
commit525996eb67bbf7718a84b593cff8dae73345bcc0 (patch)
treeb2dac211d1828a68c5f2115c911571cd09002993 /gcc/unwind-dw2.c
parent40fe4dd5a817b469030aaa517fcd999bf42c52ef (diff)
downloadgcc-525996eb67bbf7718a84b593cff8dae73345bcc0.tar.gz
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
Diffstat (limited to 'gcc/unwind-dw2.c')
-rw-r--r--gcc/unwind-dw2.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/unwind-dw2.c b/gcc/unwind-dw2.c
index c6e242a919a..0b68f11972c 100644
--- a/gcc/unwind-dw2.c
+++ b/gcc/unwind-dw2.c
@@ -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"