summaryrefslogtreecommitdiff
path: root/gcc/output.h
diff options
context:
space:
mode:
authordje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>1995-02-13 22:08:43 +0000
committerdje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>1995-02-13 22:08:43 +0000
commitb409d58e5283680cf6dade805ed93c8141d2870b (patch)
tree7bd2f95374619b6a13422a2c5117a19e9e8daf02 /gcc/output.h
parent560e7d641e10b41391d7d9bbc6edb124df997cd9 (diff)
downloadgcc-b409d58e5283680cf6dade805ed93c8141d2870b.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@8942 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/output.h')
-rw-r--r--gcc/output.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/output.h b/gcc/output.h
index 7922d64ef3f..c1a8ae67e0d 100644
--- a/gcc/output.h
+++ b/gcc/output.h
@@ -136,6 +136,9 @@ extern int in_text_section PROTO((void));
If NAME is NULL, get the name from DECL. */
extern void named_section PROTO((tree, char *));
+/* Tell assembler to switch to the section for function DECL. */
+extern void function_section PROTO((tree));
+
/* Create the rtl to represent a function, for a function definition.
DECL is a FUNCTION_DECL node which describes which function.
The rtl is stored into DECL. */