aboutsummaryrefslogtreecommitdiff
path: root/gcc/final.c
diff options
context:
space:
mode:
authorDoug Evans <dje@gnu.org>1995-02-13 22:08:43 +0000
committerDoug Evans <dje@gnu.org>1995-02-13 22:08:43 +0000
commit4d1065ed1b3ec80edaa39bcb1b302b7cc0d1f2cb (patch)
tree7bd2f95374619b6a13422a2c5117a19e9e8daf02 /gcc/final.c
parent2c62c124a78fee391c2742578af8faf233ecbb4f (diff)
downloadgcc-4d1065ed1b3ec80edaa39bcb1b302b7cc0d1f2cb.zip
gcc-4d1065ed1b3ec80edaa39bcb1b302b7cc0d1f2cb.tar.gz
gcc-4d1065ed1b3ec80edaa39bcb1b302b7cc0d1f2cb.tar.bz2
varasm.c (function_section): New function.
* varasm.c (function_section): New function. (assemble_start_function): Call it. * output.h (function_section): Declare it. * final.c (final_scan_insn): Call function_section instead of text_section. * dwarfout.c (dwarfout_begin_block): Likewise. (dwarfout_end_block): Likewise. (dwarfout_label): Likewise. (dwarfout_begin_function): Likewise. (dwarfout_end_function): Likewise. (dwarfout_line): Likewise. From-SVN: r8942
Diffstat (limited to 'gcc/final.c')
-rw-r--r--gcc/final.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/final.c b/gcc/final.c
index 5d62c92..c086dd0 100644
--- a/gcc/final.c
+++ b/gcc/final.c
@@ -1511,7 +1511,7 @@ final_scan_insn (insn, file, optimize, prescan, nopeepholes)
/ BITS_PER_UNIT));
#endif /* READONLY_DATA_SECTION */
#else /* JUMP_TABLES_IN_TEXT_SECTION */
- text_section ();
+ function_section (current_function_decl);
#endif /* JUMP_TABLES_IN_TEXT_SECTION */
#ifdef ASM_OUTPUT_CASE_LABEL
ASM_OUTPUT_CASE_LABEL (file, "L", CODE_LABEL_NUMBER (insn),
@@ -1600,7 +1600,7 @@ final_scan_insn (insn, file, optimize, prescan, nopeepholes)
insn);
#endif
- text_section ();
+ function_section (current_function_decl);
break;
}