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 | 0da76f83eb29135ae1bd52ba5962721fb1d0c6fc (patch) | |
tree | 216775d9b34d02cfc91fa714163ab9703a49577f /gas/dw2gencfi.c | |
parent | 4b363073298671c9a2a096d2ba70dd7586315c4c (diff) | |
download | binutils-gdb-0da76f83eb29135ae1bd52ba5962721fb1d0c6fc.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 ff0aa35353d..05d7e3d60f7 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); |