aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorThomas Schwinge <tschwinge@gnu.org>2010-03-15 15:11:13 +0000
committerThomas Schwinge <tschwinge@gnu.org>2010-03-15 15:11:13 +0000
commitd905c788cf58f2d9b6346fab2d3a53c21fab8adf (patch)
tree2390bd8501581b1d5f018f479efa6c333e994c22 /gas
parent4e4e1355e778223babb38993b577da68de476045 (diff)
downloadgdb-d905c788cf58f2d9b6346fab2d3a53c21fab8adf.zip
gdb-d905c788cf58f2d9b6346fab2d3a53c21fab8adf.tar.gz
gdb-d905c788cf58f2d9b6346fab2d3a53c21fab8adf.tar.bz2
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.
Diffstat (limited to 'gas')
-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. */