mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-21 16:00:58 +08:00
re PR target/18655 (Incorrect data in .debug_frame section for PowerPC)
PR 18655 * dwarf2out.c (output_call_frame_info): Use DWARF2_FRAME_REG_OUT before outputting DWARF_FRAME_RETURN_COLUMN. From-SVN: r99470
This commit is contained in:
parent
7f42f27f33
commit
32df413ae7
@ -1,3 +1,9 @@
|
||||
2005-05-09 Mark Mitchell <mark@codesourcery.com>
|
||||
|
||||
PR 18655
|
||||
* dwarf2out.c (output_call_frame_info): Use DWARF2_FRAME_REG_OUT
|
||||
before outputting DWARF_FRAME_RETURN_COLUMN.
|
||||
|
||||
2005-05-09 Adrian Straetling <straetling@de.ibm.com>
|
||||
|
||||
* config/s390/s390.c: (s390_branch_condition_mask,
|
||||
|
@ -2075,6 +2075,7 @@ output_call_frame_info (int for_eh)
|
||||
int fde_encoding = DW_EH_PE_absptr;
|
||||
int per_encoding = DW_EH_PE_absptr;
|
||||
int lsda_encoding = DW_EH_PE_absptr;
|
||||
int return_reg;
|
||||
|
||||
/* Don't emit a CIE if there won't be any FDEs. */
|
||||
if (fde_table_in_use == 0)
|
||||
@ -2213,10 +2214,11 @@ output_call_frame_info (int for_eh)
|
||||
dw2_asm_output_data_sleb128 (DWARF_CIE_DATA_ALIGNMENT,
|
||||
"CIE Data Alignment Factor");
|
||||
|
||||
return_reg = DWARF2_FRAME_REG_OUT (DWARF_FRAME_RETURN_COLUMN, for_eh);
|
||||
if (DW_CIE_VERSION == 1)
|
||||
dw2_asm_output_data (1, DWARF_FRAME_RETURN_COLUMN, "CIE RA Column");
|
||||
dw2_asm_output_data (1, return_reg, "CIE RA Column");
|
||||
else
|
||||
dw2_asm_output_data_uleb128 (DWARF_FRAME_RETURN_COLUMN, "CIE RA Column");
|
||||
dw2_asm_output_data_uleb128 (return_reg, "CIE RA Column");
|
||||
|
||||
if (augmentation[0])
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user