diff options
author | ro <ro@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-07-17 12:55:19 +0000 |
---|---|---|
committer | ro <ro@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-07-17 12:55:19 +0000 |
commit | 3285e5302f721411653de27a20770b30dc803767 (patch) | |
tree | 1bb5a4c22af007bf7d40f8f54c148c7d84c03b48 /gcc/doc/tm.texi | |
parent | ecb4f65ebe8d7e92574b8317a2e28439ed7c9cc0 (diff) | |
download | gcc-3285e5302f721411653de27a20770b30dc803767.tar.gz |
* c-pragma.h (HANDLE_PRAGMA_WEAK): Define iff ASM_WEAKEN_LABEL and
ASM_OUTPUT_WEAK_ALIAS are defined.
* defaults.h (ASM_OUTPUT_WEAK_ALIAS): Define if possible.
* config/mips/iris6.h (ASM_OUTPUT_WEAK_ALIAS, ASM_WEAKEN_LABEL):
Moved ...
* config/mips/iris5.h: ... here.
(HANDLE_SYSV_PRAGMA): Defined as 1.
* varasm.c (weak_finish): Use ASM_OUTPUT_WEAK_ALIAS.
* doc/tm.texi (ASM_OUTPUT_WEAK_ALIAS): Support the undefined weak
symbol.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44072 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/doc/tm.texi')
-rw-r--r-- | gcc/doc/tm.texi | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi index adf9870789c..6fcc3ba8a47 100644 --- a/gcc/doc/tm.texi +++ b/gcc/doc/tm.texi @@ -6423,7 +6423,8 @@ correct for most systems. @item ASM_OUTPUT_WEAK_ALIAS (@var{stream}, @var{name}, @var{value}) A C statement to output to the stdio stream @var{stream} assembler code which defines (equates) the weak symbol @var{name} to have the value -@var{value}. +@var{value}. If @var{value} is @code{NULL}, it defines @var{name} as +an undefined weak symbol. Define this macro if the target only supports weak aliases; define @code{ASM_OUTPUT_DEF} instead if possible. |