aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2000-08-26 22:25:44 +0000
committerAlexandre Oliva <aoliva@gcc.gnu.org>2000-08-26 22:25:44 +0000
commit1b2dd04a3b05664a4c92886892ed0d5a79b10531 (patch)
tree55d7f8ffcc2e085378cf423e0dccf6e10553eeb1
parenta0a6fdc8b629d4b5256b7d57ea1e0a49f7e0146c (diff)
downloadgcc-1b2dd04a3b05664a4c92886892ed0d5a79b10531.zip
gcc-1b2dd04a3b05664a4c92886892ed0d5a79b10531.tar.gz
gcc-1b2dd04a3b05664a4c92886892ed0d5a79b10531.tar.bz2
tm.texi (FINI_SECTION_ASM_OP, [...]): Document.
* tm.texi (FINI_SECTION_ASM_OP, CRT_CALL_STATIC_FUNCTION): Document. From-SVN: r36002
-rw-r--r--gcc/ChangeLog3
-rw-r--r--gcc/tm.texi17
2 files changed, 20 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 0e1a54f..9384f5c 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,8 @@
2000-08-26 Alexandre Oliva <aoliva@redhat.com>
+ * tm.texi (FINI_SECTION_ASM_OP, CRT_CALL_STATIC_FUNCTION):
+ Document.
+
* config/mn10300/mn10300.h (DBX_REGISTER_NUMBER): Remap register
numbers to the ranges used by GDB.
diff --git a/gcc/tm.texi b/gcc/tm.texi
index 7006cbf..6f66c09 100644
--- a/gcc/tm.texi
+++ b/gcc/tm.texi
@@ -5075,6 +5075,23 @@ assembler operation to identify the following data as initialization
code. If not defined, GCC will assume such a section does not
exist.
+@findex FINI_SECTION_ASM_OP
+@item FINI_SECTION_ASM_OP
+If defined, a C expression whose value is a string containing the
+assembler opration to identify the following data as finalization
+code. If not defined, GCC will assume such a section does not exist.
+
+@findex CRT_CALL_STATIC_FUNCTION
+@item CRT_CALL_STATIC_FUNCTION
+If defined, a C statement that calls the function named as the sole
+argument of this macro. This is used in @file{crtstuff.c} if
+@code{INIT_SECTION_ASM_OP} or @code{FINI_SECTION_ASM_OP} to calls to
+initialization and finalization functions from the init and fini
+sections. By default, this macro is a simple function call. Some
+ports need hand-crafted assembly code to avoid dependencies on
+registers initialized in the function prologue or to ensure that
+constant pools don't end up too far way in the text section.
+
@findex EXTRA_SECTIONS
@findex in_text
@findex in_data