aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gas/ChangeLog3
-rw-r--r--gas/dw2gencfi.c4
2 files changed, 5 insertions, 2 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 9a08df9..5110a41 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,5 +1,8 @@
2010-03-15 Thomas Schwinge <thomas@codesourcery.com>
+ * 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 09171da..36bd8d8 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. */