summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpbrook <pbrook@138bc75d-0d04-0410-961f-82ee72b054a4>2004-06-14 14:56:35 +0000
committerpbrook <pbrook@138bc75d-0d04-0410-961f-82ee72b054a4>2004-06-14 14:56:35 +0000
commitab569c0c49ed17ecbc4ade50649863175f95dd02 (patch)
treed930f19dba747d46e8b96fab3ee3b338765eb952
parent611d57f3241cb4eee320e205f3d695a3c8d21a2e (diff)
downloadgcc-ab569c0c49ed17ecbc4ade50649863175f95dd02.tar.gz
* dwarf2out.c (output_call_frame_info): Support dwarf3 cie entries.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83108 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/dwarf2out.c6
2 files changed, 9 insertions, 1 deletions
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 <paul@codesourcery.com>
+
+ * dwarf2out.c (output_call_frame_info): Support dwarf3 cie entries.
+
2004-06-14 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
* 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])
{