aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/rs6000/linux.h9
2 files changed, 11 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index fa80107..f0f79e7 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2001-05-24 Geoff Keating <geoffk@redhat.com>
+
+ * config/rs6000/linux.h (SIGNAL_FRAMESIZE): Define.
+ (MD_FALLBACK_FRAME_STATE_FOR): Use it.
+
Thu May 24 19:47:19 CEST 2001 Jan Hubicka <jh@suse.cz>
* simplify-rtx.c (simplify_subreg): Fix CONCAT simplification;
diff --git a/gcc/config/rs6000/linux.h b/gcc/config/rs6000/linux.h
index 285cf55..1518b5d 100644
--- a/gcc/config/rs6000/linux.h
+++ b/gcc/config/rs6000/linux.h
@@ -1,6 +1,7 @@
/* Definitions of target machine for GNU compiler,
- for IBM RS/6000 running AIX version 3.1.
- Copyright (C) 1996, 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
+ for powerpc machines running Linux.
+ Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001 Free Software Foundation,
+ Inc.
Contributed by Michael Meissner (meissner@cygnus.com).
This file is part of GNU CC.
@@ -73,6 +74,8 @@ Boston, MA 02111-1307, USA. */
#ifdef IN_LIBGCC2
#include <signal.h>
#include <sys/ucontext.h>
+
+enum { SIGNAL_FRAMESIZE = 64 };
#endif
#define MD_FALLBACK_FRAME_STATE_FOR(CONTEXT, FS, SUCCESS) \
@@ -87,7 +90,7 @@ Boston, MA 02111-1307, USA. */
if (((*(unsigned int *) (pc_+0) == 0x38007777) \
|| (*(unsigned int *) (pc_+0) == 0x38006666)) \
&& (*(unsigned int *) (pc_+4) == 0x44000002)) \
- sc_ = (CONTEXT)->cfa + __SIGNAL_FRAMESIZE; \
+ sc_ = (CONTEXT)->cfa + SIGNAL_FRAMESIZE; \
else \
break; \
\