c-pragma.h (HANDLE_PRAGMA_WEAK): Define iff ASM_WEAKEN_LABEL and ASM_OUTPUT_WEAK_ALIA...
authorH.J. Lu <hjl@gnu.org>
Tue, 17 Jul 2001 12:55:19 +0000 (12:55 +0000)
committerRainer Orth <ro@gcc.gnu.org>
Tue, 17 Jul 2001 12:55:19 +0000 (12:55 +0000)
commit3aa8ab7bfa8e38b018aa6eccf474d5d49643c49e
tree1bb5a4c22af007bf7d40f8f54c148c7d84c03b48
parent4b01f8d817fd5d3bd2176637b1f02b14741a2684
c-pragma.h (HANDLE_PRAGMA_WEAK): Define iff ASM_WEAKEN_LABEL and ASM_OUTPUT_WEAK_ALIAS are defined.

* 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.

Co-Authored-By: Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
From-SVN: r44072
gcc/ChangeLog
gcc/c-pragma.h
gcc/config/mips/iris5.h
gcc/config/mips/iris6.h
gcc/defaults.h
gcc/doc/tm.texi
gcc/varasm.c