OSDN Git Service

* tm.texi (FINI_SECTION_ASM_OP, CRT_CALL_STATIC_FUNCTION):
authoraoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 26 Aug 2000 22:25:44 +0000 (22:25 +0000)
committeraoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 26 Aug 2000 22:25:44 +0000 (22:25 +0000)
Document.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36002 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/tm.texi

index 0e1a54f..9384f5c 100644 (file)
@@ -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.
 
index 7006cbf..6f66c09 100644 (file)
@@ -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