summaryrefslogtreecommitdiff
path: root/gcc/debug.h
diff options
context:
space:
mode:
authoruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>2008-01-16 11:10:27 +0000
committeruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>2008-01-16 11:10:27 +0000
commit9bf03e068fa76b6f77b60b10e990a476c798b199 (patch)
treeeaacc8b781abdc15ec346c4cab998439767ce5a2 /gcc/debug.h
parentf79d1de147738e5a8e9e6ce4068d12ab83fd2159 (diff)
downloadgcc-9bf03e068fa76b6f77b60b10e990a476c798b199.tar.gz
PR debug/34249
* debug.h (dwarf2out_switch_text_section): Move declaration from ... * dwarf2out.c (dwarf2out_switch_text_section): ... here. Make function global. * final.c (final_scan_insn) [NOTE_INSN_SWITCH_TEXT_SECTIONS]: Depending on dwarf2out_do_frame, call dwarf2out_switch_text_section for DWARF2_UNWIND_INFO targets. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131570 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/debug.h')
-rw-r--r--gcc/debug.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/debug.h b/gcc/debug.h
index 03c80412709..cab1e2603e2 100644
--- a/gcc/debug.h
+++ b/gcc/debug.h
@@ -160,6 +160,7 @@ extern void dwarf2out_frame_finish (void);
/* Decide whether we want to emit frame unwind information for the current
translation unit. */
extern int dwarf2out_do_frame (void);
+extern void dwarf2out_switch_text_section (void);
extern void debug_flush_symbol_queue (void);
extern void debug_queue_symbol (tree);