diff options
author | Nick Clifton <nickc@redhat.com> | 2004-05-13 14:41:18 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2004-05-13 14:41:18 +0000 |
commit | 1d4e66cfb6fc42fb1d484ea0f0ff97f07e364966 (patch) | |
tree | a04bff9317413a051b7e29286aa47601993043bb /gas/dw2gencfi.c | |
parent | 59e4e89217c1d4a12a3c479d80216da14d6da61b (diff) | |
download | binutils-redhat-1d4e66cfb6fc42fb1d484ea0f0ff97f07e364966.tar.gz |
Handle dwarf3 format CIE entries.
Diffstat (limited to 'gas/dw2gencfi.c')
-rw-r--r-- | gas/dw2gencfi.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gas/dw2gencfi.c b/gas/dw2gencfi.c index ff0aa35353..05d7e3d60f 100644 --- a/gas/dw2gencfi.c +++ b/gas/dw2gencfi.c @@ -845,7 +845,10 @@ output_cie (struct cie_entry *cie) out_one (0); out_uleb128 (DWARF2_LINE_MIN_INSN_LENGTH); /* Code alignment */ out_sleb128 (DWARF2_CIE_DATA_ALIGNMENT); /* Data alignment */ - out_one (cie->return_column); /* Return column */ + if (DW_CIE_VERSION == 1) /* Return column. */ + out_one (cie->return_column); + else + out_uleb128 (cie->return_column); out_uleb128 (1); /* Augmentation size */ #if defined DIFF_EXPR_OK || defined tc_cfi_emit_pcrel_expr out_one (DW_EH_PE_pcrel | DW_EH_PE_sdata4); |