tm.texi (ENCODE_SECTION_INFO): Add documentation on how a tree representing a constant is passed to the macro.
* doc/tm.texi (ENCODE_SECTION_INFO): Add documentation on how a tree representing a constant is passed to the macro. From-SVN: r44836
This commit is contained in:
parent
d9f6800d4a
commit
f0d1c3bd39
@ -1,3 +1,8 @@
|
|||||||
|
2001-08-12 Kazu Hirata <kazu@hxi.com>
|
||||||
|
|
||||||
|
* doc/tm.texi (ENCODE_SECTION_INFO): Add documentation on how
|
||||||
|
a tree representing a constant is passed to the macro.
|
||||||
|
|
||||||
2001-08-12 Richard Henderson <rth@redhat.com>
|
2001-08-12 Richard Henderson <rth@redhat.com>
|
||||||
|
|
||||||
* config/rs6000/rs6000.c (rs6000_elf_asm_out_constructor): New.
|
* config/rs6000/rs6000.c (rs6000_elf_asm_out_constructor): New.
|
||||||
|
@ -5600,14 +5600,18 @@ This macro is irrelevant if there is no separate readonly data section.
|
|||||||
|
|
||||||
@findex ENCODE_SECTION_INFO
|
@findex ENCODE_SECTION_INFO
|
||||||
@item ENCODE_SECTION_INFO (@var{decl})
|
@item ENCODE_SECTION_INFO (@var{decl})
|
||||||
Define this macro if references to a symbol must be treated differently
|
Define this macro if references to a symbol or a constant must be
|
||||||
depending on something about the variable or function named by the
|
treated differently depending on something about the variable or
|
||||||
symbol (such as what section it is in).
|
function named by the symbol (such as what section it is in).
|
||||||
|
|
||||||
The macro definition, if any, is executed immediately after the rtl for
|
The macro definition, if any, is executed under two circumstances. One
|
||||||
@var{decl} has been created and stored in @code{DECL_RTL (@var{decl})}.
|
is immediately after the rtl for @var{decl} that represents a variable
|
||||||
The value of the rtl will be a @code{mem} whose address is a
|
or a function has been created and stored in @code{DECL_RTL
|
||||||
@code{symbol_ref}.
|
(@var{decl})}. The value of the rtl will be a @code{mem} whose address
|
||||||
|
is a @code{symbol_ref}. The other is immediately after the rtl for
|
||||||
|
@var{decl} that represents a constant has been created and stored in
|
||||||
|
@code{TREE_CST_RTL (@var{decl})}. The macro is called once for each
|
||||||
|
distinct constant in a source file.
|
||||||
|
|
||||||
@cindex @code{SYMBOL_REF_FLAG}, in @code{ENCODE_SECTION_INFO}
|
@cindex @code{SYMBOL_REF_FLAG}, in @code{ENCODE_SECTION_INFO}
|
||||||
The usual thing for this macro to do is to record a flag in the
|
The usual thing for this macro to do is to record a flag in the
|
||||||
|
Loading…
x
Reference in New Issue
Block a user