summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>2010-11-06 08:55:57 +0000
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>2010-11-06 08:55:57 +0000
commitaa1ff3cbb5bb2fa5eb13805cb5e519c65fe6d946 (patch)
tree608dba4e5da93466ec0ce168d6b66745e97ea578 /gcc
parentc0637e8067a8b19a2c927fe98a83581ad850b6ad (diff)
downloadgcc-aa1ff3cbb5bb2fa5eb13805cb5e519c65fe6d946.tar.gz
* config/i386/cygming.h (DWARF_FRAME_REGISTERS): Redefine. Use 33
in 64-bit mode and 17 otherwise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@166397 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/i386/cygming.h4
2 files changed, 10 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 65f917abf12..98be40aba0a 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2010-11-06 Eric Botcazou <ebotcazou@adacore.com>
+ Pascal Obry <obry@adacore.com>
+
+ * config/i386/cygming.h (DWARF_FRAME_REGISTERS): Redefine. Use 33
+ in 64-bit mode and 17 otherwise.
+
2010-11-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
PR debug/45939
diff --git a/gcc/config/i386/cygming.h b/gcc/config/i386/cygming.h
index 09ea866c0d7..4ee2a04349e 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