aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2001-08-17 12:07:46 -0700
committerRichard Henderson <rth@gcc.gnu.org>2001-08-17 12:07:46 -0700
commit33c09f2f10a51cdd8bd02e2b0be89d3540c5dcf3 (patch)
tree2b87ffff71c6a2f879ee8afa9dfcd9e1863c867b
parentf99ffb608b3069da8ac2b9f25c61c4b4ad77f571 (diff)
downloadgcc-33c09f2f10a51cdd8bd02e2b0be89d3540c5dcf3.zip
gcc-33c09f2f10a51cdd8bd02e2b0be89d3540c5dcf3.tar.gz
gcc-33c09f2f10a51cdd8bd02e2b0be89d3540c5dcf3.tar.bz2
* doc/tm.texi (Sections): Document TEXT_SECTION.
From-SVN: r44974
-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 c7c7cf4..b7e6e7f 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 538888b..7a64bcd 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