sh.h (SH_DBX_REGISTER_NUMBER): Added fpscr, fixed sr/gbr regs.

http://gcc.gnu.org/ml/gcc-patches/2007-09/msg00945.html
2007-09-12  Christian Bruel  <christian.bruel@st.com>
	* sh.h (SH_DBX_REGISTER_NUMBER): Added fpscr, fixed sr/gbr regs.
	* linux-unwind.h (SH_DWARF_FRAME_GBR): fixed.

From-SVN: r128413
This commit is contained in:
Christian Bruel 2007-09-12 08:59:06 +02:00 committed by Christian Bruel
parent f8f8fee8a2
commit 926e663ef1
3 changed files with 10 additions and 4 deletions

View File

@ -1,3 +1,7 @@
2007-09-12 Christian Bruel <christian.bruel@st.com>
* sh.h (SH_DBX_REGISTER_NUMBER): Added fpscr, fixed sr/gbr regs.
* linux-unwind.h (SH_DWARF_FRAME_GBR): fixed.
2007-09-12 Ira Rosen <irar@il.ibm.com>
* tree-vect-transform.c (vect_get_slp_defs): Don't build a vector

View File

@ -45,7 +45,7 @@ Boston, MA 02110-1301, USA. */
#define SH_DWARF_FRAME_FP0 25
#define SH_DWARF_FRAME_XD0 87
#define SH_DWARF_FRAME_PR 17
#define SH_DWARF_FRAME_GBR 19
#define SH_DWARF_FRAME_GBR 18
#define SH_DWARF_FRAME_MACH 20
#define SH_DWARF_FRAME_MACL 21
#define SH_DWARF_FRAME_PC 16

View File

@ -2973,16 +2973,18 @@ struct sh_args {
? (TARGET_SH5 ? 18 : 17) \
: (REGNO) == PR_MEDIA_REG \
? (TARGET_SH5 ? 18 : (unsigned) -1) \
: (REGNO) == T_REG \
? (TARGET_SH5 ? 242 : 18) \
: (REGNO) == GBR_REG \
? (TARGET_SH5 ? 238 : 19) \
? (TARGET_SH5 ? 238 : 18) \
: (REGNO) == MACH_REG \
? (TARGET_SH5 ? 239 : 20) \
: (REGNO) == MACL_REG \
? (TARGET_SH5 ? 240 : 21) \
: (REGNO) == T_REG \
? (TARGET_SH5 ? 242 : 22) \
: (REGNO) == FPUL_REG \
? (TARGET_SH5 ? 244 : 23) \
: (REGNO) == FPSCR_REG \
? (TARGET_SH5 ? 243 : 24) \
: (unsigned) -1)
/* This is how to output a reference to a symbol_ref. On SH5,