From d905c788cf58f2d9b6346fab2d3a53c21fab8adf Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Mon, 15 Mar 2010 15:11:13 +0000 Subject: [PATCH] 2010-03-15 Thomas Schwinge * dw2gencfi.c (output_cie): Consider emitting the S augmentation in all cases, and not only for .eh_frame. --- gas/ChangeLog | 3 +++ gas/dw2gencfi.c | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 9a08df9ac0..5110a41fed 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,5 +1,8 @@ 2010-03-15 Thomas Schwinge + * dw2gencfi.c (output_cie): Consider emitting the S augmentation in all + cases, and not only for .eh_frame. + * dw2gencfi.c (output_cie): Make it more explicit which code paths belong to .eh_frame only. diff --git a/gas/dw2gencfi.c b/gas/dw2gencfi.c index 09171da296..36bd8d8d1d 100644 --- a/gas/dw2gencfi.c +++ b/gas/dw2gencfi.c @@ -1303,9 +1303,9 @@ output_cie (struct cie_entry *cie, bfd_boolean eh_frame, int align) if (cie->lsda_encoding != DW_EH_PE_omit) out_one ('L'); out_one ('R'); - if (cie->signal_frame) - out_one ('S'); } + if (cie->signal_frame) + out_one ('S'); out_one (0); out_uleb128 (DWARF2_LINE_MIN_INSN_LENGTH); /* Code alignment. */ out_sleb128 (DWARF2_CIE_DATA_ALIGNMENT); /* Data alignment. */ -- 2.34.1