summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog2
-rw-r--r--gcc/doc/tm.texi7
2 files changed, 9 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index c7c7cf4ea96..b7e6e7f7e76 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 538888b16d4..7a64bcdb4ba 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
OpenPOWER on IntegriCloud