diff options
author | Alexandre Oliva <aoliva@redhat.com> | 2005-11-18 01:55:34 +0000 |
---|---|---|
committer | Alexandre Oliva <aoliva@gcc.gnu.org> | 2005-11-18 01:55:34 +0000 |
commit | ff2d10c1e49a8936763ea7bfa2ee335f4b797298 (patch) | |
tree | f7de15014a0085f44ce51e707c4844ee5dd161a1 /gcc/doc | |
parent | ebb23329cd736e3f60eb60f544e9e218baa3a9ab (diff) | |
download | gcc-ff2d10c1e49a8936763ea7bfa2ee335f4b797298.zip gcc-ff2d10c1e49a8936763ea7bfa2ee335f4b797298.tar.gz gcc-ff2d10c1e49a8936763ea7bfa2ee335f4b797298.tar.bz2 |
rs6000.h (ASM_OUTPUT_WEAKREF): Define.
* config/rs6000/rs6000.h (ASM_OUTPUT_WEAKREF): Define.
* defaults.h (ASM_OUTPUT_WEAKREF): Add decl argument.
* varasm.c (do_assemble_alias): Adjust call.
(weak_finish): Don't use ASM_WEAKEN_LABEL if ASM_WEAKEN_DECL
is defined.
* doc/tm.texi (ASM_OUTPUT_WEAKREF): Document it.
From-SVN: r107156
Diffstat (limited to 'gcc/doc')
-rw-r--r-- | gcc/doc/tm.texi | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi index b229ee8..09279ec 100644 --- a/gcc/doc/tm.texi +++ b/gcc/doc/tm.texi @@ -6766,6 +6766,12 @@ defines (equates) the weak symbol @var{name} to have the value to make @var{name} weak. @end defmac +@defmac ASM_OUTPUT_WEAKREF (@var{stream}, @var{decl}, @var{name}, @var{value}) +Outputs a directive that enables @var{name} to be used to refer to +symbol @var{value} with weak-symbol semantics. @code{decl} is the +declaration of @code{name}. +@end defmac + @defmac SUPPORTS_WEAK A C expression which evaluates to true if the target supports weak symbols. |