diff options
author | Uros Bizjak <ubizjak@gmail.com> | 2008-01-16 12:10:27 +0100 |
---|---|---|
committer | Uros Bizjak <uros@gcc.gnu.org> | 2008-01-16 12:10:27 +0100 |
commit | a4b6974e6b2a85f7fe9e62e3bce8b6587eaf2a2e (patch) | |
tree | eaacc8b781abdc15ec346c4cab998439767ce5a2 /gcc/dwarf2out.c | |
parent | be2b548394a3d0998cf7fff5e9d85fcecd22d5f7 (diff) | |
download | gcc-a4b6974e6b2a85f7fe9e62e3bce8b6587eaf2a2e.zip gcc-a4b6974e6b2a85f7fe9e62e3bce8b6587eaf2a2e.tar.gz gcc-a4b6974e6b2a85f7fe9e62e3bce8b6587eaf2a2e.tar.bz2 |
re PR debug/34249 (FAIL: gcc.dg/tree-prof/bb-reorg.c compilation, -fprofile-use -D_PROFILE_USE)
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.
From-SVN: r131570
Diffstat (limited to 'gcc/dwarf2out.c')
-rw-r--r-- | gcc/dwarf2out.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index 6c7f75a..7df2b46 100644 --- a/gcc/dwarf2out.c +++ b/gcc/dwarf2out.c @@ -3659,7 +3659,6 @@ static void dwarf2out_imported_module_or_decl (tree, tree); static void dwarf2out_abstract_function (tree); static void dwarf2out_var_location (rtx); static void dwarf2out_begin_function (tree); -static void dwarf2out_switch_text_section (void); /* The debug hooks structure. */ @@ -7094,7 +7093,7 @@ dwarf2out_note_section_used (void) cold_text_section_used = true; } -static void +void dwarf2out_switch_text_section (void) { dw_fde_ref fde; |