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.
This commit is contained in:
Thomas Schwinge 2010-03-15 15:11:13 +00:00
parent 4e4e1355e7
commit d905c788cf
2 changed files with 5 additions and 2 deletions

View File

@ -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.

View File

@ -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. */