From: Eric Botcazou Date: Sat, 6 Nov 2010 08:55:57 +0000 (+0000) Subject: cygming.h (DWARF_FRAME_REGISTERS): Redefine. X-Git-Tag: releases/gcc-4.6.0~2862 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2952a37e88596fa92a77bb8ae9c7afac7e727d46;p=thirdparty%2Fgcc.git cygming.h (DWARF_FRAME_REGISTERS): Redefine. * config/i386/cygming.h (DWARF_FRAME_REGISTERS): Redefine. Use 33 in 64-bit mode and 17 otherwise. Co-Authored-By: Pascal Obry From-SVN: r166397 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 65f917abf125..98be40aba0ab 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2010-11-06 Eric Botcazou + Pascal Obry + + * config/i386/cygming.h (DWARF_FRAME_REGISTERS): Redefine. Use 33 + in 64-bit mode and 17 otherwise. + 2010-11-06 Andreas Krebbel PR debug/45939 diff --git a/gcc/config/i386/cygming.h b/gcc/config/i386/cygming.h index 09ea866c0d7e..4ee2a04349e2 100644 --- a/gcc/config/i386/cygming.h +++ b/gcc/config/i386/cygming.h @@ -84,6 +84,10 @@ along with GCC; see the file COPYING3. If not see (TARGET_64BIT ? dbx64_register_map[(n)] \ : svr4_dbx_register_map[(n)]) +/* The MS_ABI changes the set of call-used registers. */ +#undef DWARF_FRAME_REGISTERS +#define DWARF_FRAME_REGISTERS (TARGET_64BIT ? 33 : 17) + #ifdef HAVE_GAS_PE_SECREL32_RELOC /* Use section relative relocations for debugging offsets. Unlike other targets that fake this by putting the section VMA at 0, PE