From: Geoffrey Keating Date: Thu, 24 May 2001 20:15:13 +0000 (+0000) Subject: linux.h (SIGNAL_FRAMESIZE): Define. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a0a843c7bfc41a872cea4dce8b972ac97528dfad;p=gcc.git linux.h (SIGNAL_FRAMESIZE): Define. * config/rs6000/linux.h (SIGNAL_FRAMESIZE): Define. (MD_FALLBACK_FRAME_STATE_FOR): Use it. From-SVN: r42534 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index fa8010709d7..f0f79e72227 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2001-05-24 Geoff Keating + + * config/rs6000/linux.h (SIGNAL_FRAMESIZE): Define. + (MD_FALLBACK_FRAME_STATE_FOR): Use it. + Thu May 24 19:47:19 CEST 2001 Jan Hubicka * simplify-rtx.c (simplify_subreg): Fix CONCAT simplification; diff --git a/gcc/config/rs6000/linux.h b/gcc/config/rs6000/linux.h index 285cf55e5c1..1518b5d5060 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 #include + +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; \ \