From fc9c8ce15a97920e6bf0fedaa6c50631acff1a31 Mon Sep 17 00:00:00 2001 From: Paul Brook Date: Mon, 14 Jun 2004 14:56:35 +0000 Subject: [PATCH] * dwarf2out.c (output_call_frame_info): Support dwarf3 cie entries. From-SVN: r83108 --- gcc/ChangeLog | 4 ++++ gcc/dwarf2out.c | 6 +++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index fdcffcd778a..b9b6d09013d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2004-06-14 Paul Brook + + * dwarf2out.c (output_call_frame_info): Support dwarf3 cie entries. + 2004-06-14 Zdenek Dvorak * Makefile.in (FLAGS_H): New. diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index fa1bdad359e..0ad017be1fd 100644 --- a/gcc/dwarf2out.c +++ b/gcc/dwarf2out.c @@ -2082,7 +2082,11 @@ output_call_frame_info (int for_eh) dw2_asm_output_data_uleb128 (1, "CIE Code Alignment Factor"); dw2_asm_output_data_sleb128 (DWARF_CIE_DATA_ALIGNMENT, "CIE Data Alignment Factor"); - dw2_asm_output_data (1, DWARF_FRAME_RETURN_COLUMN, "CIE RA Column"); + + if (DW_CIE_VERSION == 1) + dw2_asm_output_data (1, DWARF_FRAME_RETURN_COLUMN, "CIE RA Column"); + else + dw2_asm_output_data_uleb128 (DWARF_FRAME_RETURN_COLUMN, "CIE RA Column"); if (augmentation[0]) { -- 2.30.2