gas/dw2gencfi.c (output_cie): S augmentation
Thomas Schwinge
thomas@codesourcery.com
Mon Jan 25 11:34:00 GMT 2010
Hello!
GDB (and probably other unwinders) can make use of this information, too,
thus:
gas/
2010-01-25 Thomas Schwinge <thomas@codesourcery.com>
* dw2gencfi.c (output_cie): Consider emitting the S augmentation in all
cases, and not only for .eh_frame.
Index: dw2gencfi.c
===================================================================
RCS file: /cvs/src/src/gas/dw2gencfi.c,v
retrieving revision 1.45
diff -u -p -r1.45 dw2gencfi.c
--- dw2gencfi.c 4 Nov 2009 09:52:00 -0000 1.45
+++ dw2gencfi.c 25 Jan 2010 10:30:29 -0000
@@ -1303,9 +1303,9 @@ output_cie (struct cie_entry *cie, bfd_b
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. */
Regards,
Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20100125/e5ff2c52/attachment.sig>
More information about the Binutils
mailing list