Fix FDE labels for Darwin
authorIain Sandoe <iain@sandoe.co.uk>
Wed, 22 Aug 2018 11:37:02 +0000 (11:37 +0000)
committerIain Sandoe <iains@gcc.gnu.org>
Wed, 22 Aug 2018 11:37:02 +0000 (11:37 +0000)
commit333a29f9e88dbe5ed6fc0c9a1852c98b58831c77
treed7255a4ce68a1ba945a1e8fdbba6ddab680fdd5a
parentacc2580750f930440cabe85650df8a2f20ff520d
Fix FDE labels for Darwin

gcc/

PR bootstrap/81033
PR target/81733
PR target/52795
* gcc/dwarf2out.c (FUNC_SECOND_SECT_LABEL): New.
(dwarf2out_switch_text_section): Generate a local label for the second
function sub-section and apply it as the second FDE start label.
* gcc/final.c (final_scan_insn_1): Emit second FDE label after the second
sub-section start.

From-SVN: r263763
gcc/ChangeLog
gcc/dwarf2out.c
gcc/final.c