Commit a0a843c7 by Geoffrey Keating Committed by Geoffrey Keating

linux.h (SIGNAL_FRAMESIZE): Define.

	* config/rs6000/linux.h (SIGNAL_FRAMESIZE): Define.
	(MD_FALLBACK_FRAME_STATE_FOR): Use it.

From-SVN: r42534
parent cf3e18dd
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;
......
/* 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; \
\
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment