diff options
author | Geoffrey Keating <geoffk@redhat.com> | 2001-05-24 20:15:13 +0000 |
---|---|---|
committer | Geoffrey Keating <geoffk@gcc.gnu.org> | 2001-05-24 20:15:13 +0000 |
commit | a0a843c7bfc41a872cea4dce8b972ac97528dfad (patch) | |
tree | 5b05d245e22417b8440d7ed5113adbdaa710b996 /gcc/config/rs6000/linux.h | |
parent | cf3e18dd1e39b7f21fe7769e0609bde8e9af3701 (diff) | |
download | gcc-a0a843c7bfc41a872cea4dce8b972ac97528dfad.zip gcc-a0a843c7bfc41a872cea4dce8b972ac97528dfad.tar.gz gcc-a0a843c7bfc41a872cea4dce8b972ac97528dfad.tar.bz2 |
linux.h (SIGNAL_FRAMESIZE): Define.
* config/rs6000/linux.h (SIGNAL_FRAMESIZE): Define.
(MD_FALLBACK_FRAME_STATE_FOR): Use it.
From-SVN: r42534
Diffstat (limited to 'gcc/config/rs6000/linux.h')
-rw-r--r-- | gcc/config/rs6000/linux.h | 9 |
1 files changed, 6 insertions, 3 deletions
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; \ \ |