From 033e4d6d63ca35bb6ee5aa4aa7cb533ec7448a4f Mon Sep 17 00:00:00 2001
From: rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Date: Fri, 17 Aug 2001 19:07:46 +0000
Subject: [PATCH]         * doc/tm.texi (Sections): Document TEXT_SECTION.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44974 138bc75d-0d04-0410-961f-82ee72b054a4
---
 gcc/ChangeLog   | 2 ++
 gcc/doc/tm.texi | 7 +++++++
 2 files changed, 9 insertions(+)

diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index c7c7cf4ea965..b7e6e7f7e768 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -18,6 +18,8 @@
 	(mips_output_function_epilogue): Likewise.  Switch back to data
 	section after emitting the function.
 
+	* doc/tm.texi (Sections): Document TEXT_SECTION.
+
 2001-08-17  Richard Henderson  <rth@redhat.com>
 
 	* dwarf2out.c (dwarf2out_init): Don't emit .debug_loc label here.
diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi
index 538888b16d49..7a64bcdb4baf 100644
--- a/gcc/doc/tm.texi
+++ b/gcc/doc/tm.texi
@@ -5483,6 +5483,13 @@ A C expression whose value is a string, including spacing, containing the
 assembler operation that should precede instructions and read-only data.
 Normally @code{"\t.text"} is right.
 
+@findex TEXT_SECTION
+@item TEXT_SECTION
+A C statement that switches to the default section containing instructions.
+Normally this is not needed, as simply defining @code{TEXT_SECTION_ASM_OP}
+is enough.  The MIPS port uses this to sort all functions after all data
+declarations.
+
 @findex DATA_SECTION_ASM_OP
 @item DATA_SECTION_ASM_OP
 A C expression whose value is a string, including spacing, containing the
-- 
GitLab