| commit | 45bf072b34068b5a98947862b2aa183ab646e7ea | [log] [tgz] |
|---|---|---|
| author | Alan Modra <amodra@gmail.com> | Wed Jun 15 22:30:51 2022 +0930 |
| committer | Alan Modra <amodra@gmail.com> | Thu Jun 16 09:54:55 2022 +0930 |
| tree | 39c30c9557e46988678a0f92698b9c4ad556e728 | |
| parent | 0fbc4f6aeb3f66f86d93ab45d508e351b1c5c9f5 [diff] |
PR29250, readelf erases CIE initial register state PR 29250 binutils/ * dwarf.c (display_debug_frames): Set col_type[reg] on sizing pass over FDE to cie->col_type[reg] if CIE specifies reg. Handle DW_CFA_restore and DW_CFA_restore_extended on second pass using the same logic. Remove unnecessary casts. Don't call frame_need_space on second pass over FDE. gas/ * testsuite/gas/i386/ehinterp.d, * testsuite/gas/i386/ehinterp.s: New test. * testsuite/gas/i386/i386.exp: Run it.