]> gcc.gnu.org Git - gcc.git/commitdiff
* doc/tm.texi (USE_SELECT_SECTION_FOR_FUNCTIONS): Document.
authorGeoffrey Keating <geoffk@apple.com>
Wed, 27 Oct 2004 21:17:08 +0000 (21:17 +0000)
committerGeoffrey Keating <geoffk@gcc.gnu.org>
Wed, 27 Oct 2004 21:17:08 +0000 (21:17 +0000)
From-SVN: r89713

gcc/ChangeLog
gcc/doc/tm.texi

index 2bc4a629e8c5f75f6f66fe2ae890bf08684b76b5..871331093cc1b0243593f7d552f170bbded0a2af 100644 (file)
@@ -1,5 +1,7 @@
 2004-10-27  Geoffrey Keating  <geoffk@apple.com>
 
+       * doc/tm.texi (USE_SELECT_SECTION_FOR_FUNCTIONS): Document.
+
        * config/darwin.h (GTHREAD_USE_WEAK): Define.
 
 2004-10-28  Ben Elliston  <bje@au.ibm.com>
index 061df95f1cbd7b9fa507cadb421a3537d0a7983a..76634af282ebbe03920b3a7eb2b6c31616f9616a 100644 (file)
@@ -5980,8 +5980,19 @@ in bits.
 
 The default version of this function takes care of putting read-only
 variables in @code{readonly_data_section}.
+
+See also @var{USE_SELECT_SECTION_FOR_FUNCTIONS}.
 @end deftypefn
 
+@defmac USE_SELECT_SECTION_FOR_FUNCTIONS
+Define this macro if you wish TARGET_ASM_SELECT_SECTION to be called
+for @code{FUNCTION_DECL}s as well as for variables and constants.
+
+In the case of a @code{FUNCTION_DECL}, @var{reloc} will be zero if the
+function has been determined to be likely to be called, and nonzero if
+it is unlikely to be called.
+@end defmac
+
 @deftypefn {Target Hook} void TARGET_ASM_UNIQUE_SECTION (tree @var{decl}, int @var{reloc})
 Build up a unique section name, expressed as a @code{STRING_CST} node,
 and assign it to @samp{DECL_SECTION_NAME (@var{decl})}.
This page took 0.21315 seconds and 5 git commands to generate.