summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2001-08-17 19:07:46 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2001-08-17 19:07:46 +0000
commit033e4d6d63ca35bb6ee5aa4aa7cb533ec7448a4f (patch)
tree2b87ffff71c6a2f879ee8afa9dfcd9e1863c867b
parent25e5d448acc7ba4755b60cd152bc537010aaf038 (diff)
downloadppe42-gcc-033e4d6d63ca35bb6ee5aa4aa7cb533ec7448a4f.tar.gz
ppe42-gcc-033e4d6d63ca35bb6ee5aa4aa7cb533ec7448a4f.zip
* doc/tm.texi (Sections): Document TEXT_SECTION.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44974 138bc75d-0d04-0410-961f-82ee72b054a4
-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