This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[committed] fix DWARF_CIE_DATA_ALIGNMENT
- From: Eric Christopher <echristo at redhat dot com>
- To: gcc-patches at gcc dot gnu dot org
- Cc: Richard Sandiford <rsandifo at redhat dot com>
- Date: Mon, 14 Mar 2005 21:51:05 -0800
- Subject: [committed] fix DWARF_CIE_DATA_ALIGNMENT
Since the stack grows downward this should probably be -4 instead of 4.
Richard, mind if I commit this to 4.0?
Tested on mips64-elf, no regressions.
-eric
2005-03-14 Eric Christopher <echristo@redhat.com>
* config/mips/mips.h (DWARF_CIE_DATA_ALIGNMENT): Change for
STACK_GROWS_DOWNWARD.
Index: config/mips/mips.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/mips/mips.h,v
retrieving revision 1.385
diff -u -p -w -r1.385 mips.h
--- config/mips/mips.h 14 Mar 2005 20:40:56 -0000 1.385
+++ config/mips/mips.h 15 Mar 2005 05:48:00 -0000
@@ -935,7 +935,7 @@ extern const struct mips_cpu_info *mips_
/* Offsets recorded in opcodes are a multiple of this alignment factor.
The default for this in 64-bit mode is 8, which causes problems with
SFmode register saves. */
-#define DWARF_CIE_DATA_ALIGNMENT 4
+#define DWARF_CIE_DATA_ALIGNMENT -4
/* Correct the offset of automatic variables and arguments. Note that
the MIPS debug format wants all automatic variables and arguments