summaryrefslogtreecommitdiff
path: root/gcc/output.h
diff options
context:
space:
mode:
authoramacleod <amacleod@138bc75d-0d04-0410-961f-82ee72b054a4>1998-12-14 14:19:48 +0000
committeramacleod <amacleod@138bc75d-0d04-0410-961f-82ee72b054a4>1998-12-14 14:19:48 +0000
commit14948c31be2f4d3bc140d3e67cad3ba1e85fb357 (patch)
tree9c3b295b1593fd55841e42176ef3ad15e79ae042 /gcc/output.h
parent881c3cf0ff288ee444b6492a9bdb5be77363796a (diff)
downloadgcc-14948c31be2f4d3bc140d3e67cad3ba1e85fb357.tar.gz
* output.h (force_data_section): New prototype.
* varasm.c (force_data_section): New function to force the data section, regardless of what in_section thinks. * dwarf2out.c (output_call_frame_info): Call force_data_section since varasm may not realize we've changes sections. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24311 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 4082e629cfc..4fcce0b22ee 100644
--- a/gcc/output.h
+++ b/gcc/output.h
@@ -142,6 +142,9 @@ extern void text_section PROTO((void));
/* Tell assembler to switch to data section. */
extern void data_section PROTO((void));
+/* Tell assembler to make sure its in the data section. */
+extern void force_data_section PROTO((void));
+
/* Tell assembler to switch to read-only data section. This is normally
the text section. */
extern void readonly_data_section PROTO((void));