Commit 9f2af3ce by Richard Henderson Committed by Richard Henderson

re PR debug/40431 (ICE in div_data_align, at dwarf2out.c:533 while configuring sparcv9 libgcc)

	PR debug/40431
	* dwarf2out.c (def_cfa_1): Revert 2009-06-11 change for
	DW_CFA_def_cfa_offset and DW_CFA_def_cfa.

From-SVN: r149157
parent d66a97e2
2009-07-01 Richard Henderson <rth@redhat.com>
PR debug/40431
* dwarf2out.c (def_cfa_1): Revert 2009-06-11 change for
DW_CFA_def_cfa_offset and DW_CFA_def_cfa.
2009-07-01 Michael Meissner <meissner@linux.vnet.ibm.com> 2009-07-01 Michael Meissner <meissner@linux.vnet.ibm.com>
PR bootstrap/40558 PR bootstrap/40558
......
...@@ -994,7 +994,7 @@ def_cfa_1 (const char *label, dw_cfa_location *loc_p) ...@@ -994,7 +994,7 @@ def_cfa_1 (const char *label, dw_cfa_location *loc_p)
the CFA register did not change but the offset did. The data the CFA register did not change but the offset did. The data
factoring for DW_CFA_def_cfa_offset_sf happens in output_cfi, or factoring for DW_CFA_def_cfa_offset_sf happens in output_cfi, or
in the assembler via the .cfi_def_cfa_offset directive. */ in the assembler via the .cfi_def_cfa_offset directive. */
if (need_data_align_sf_opcode (loc.offset)) if (loc.offset < 0)
cfi->dw_cfi_opc = DW_CFA_def_cfa_offset_sf; cfi->dw_cfi_opc = DW_CFA_def_cfa_offset_sf;
else else
cfi->dw_cfi_opc = DW_CFA_def_cfa_offset; cfi->dw_cfi_opc = DW_CFA_def_cfa_offset;
...@@ -1021,7 +1021,7 @@ def_cfa_1 (const char *label, dw_cfa_location *loc_p) ...@@ -1021,7 +1021,7 @@ def_cfa_1 (const char *label, dw_cfa_location *loc_p)
the specified offset. The data factoring for DW_CFA_def_cfa_sf the specified offset. The data factoring for DW_CFA_def_cfa_sf
happens in output_cfi, or in the assembler via the .cfi_def_cfa happens in output_cfi, or in the assembler via the .cfi_def_cfa
directive. */ directive. */
if (need_data_align_sf_opcode (loc.offset)) if (loc.offset < 0)
cfi->dw_cfi_opc = DW_CFA_def_cfa_sf; cfi->dw_cfi_opc = DW_CFA_def_cfa_sf;
else else
cfi->dw_cfi_opc = DW_CFA_def_cfa; cfi->dw_cfi_opc = DW_CFA_def_cfa;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment