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 * 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