------- Additional Comments From danglin at gcc dot gnu dot org 2005-03-13
00:27 -------
They are both issues with the HP linker and dynamic loader. In my
opinion, they are different issues.
Regarding, g++.dg/warn/weak1.C the dynamic loader will not execute
an application binary that has undefined symbols. On hppa64-*-hpux11*,
it's possible to create an application binary with undefined symbols.
However, the dynamic loader will not execute the binary. Thus, the
technique of testing the address of a weak function to see if it is
defined or not won't work on this target.
The failure of gcc.dg/special/weak-1.c on the 32-bit target occurs
because the linker selects the weak/secondary definition instead of
the primary definition. In my opinion, this is a HP linker bug.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |danglin at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19887