This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Serious ld issue on ppc64
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: binutils at sources dot redhat dot com, roland at redhat dot com
- Date: Fri, 26 Mar 2004 11:37:39 +1030
- Subject: Re: Serious ld issue on ppc64
- References: <20040325112816.GN15946@sunsite.ms.mff.cuni.cz>
On Thu, Mar 25, 2004 at 12:28:17PM +0100, Jakub Jelinek wrote:
> There is no such problem on e.g. x86-64. The difference seems to be that
> on PPC64 write@@GLIBC_2.3 is the .opd symbol and does not have STT_FUNC set,
Yes. I erred in not making these symbols STT_FUNC. I'm testing an
add_symbol_hook fudge to correct the type.
> but I don't think I grok the reason why a nowhere mentioned .dynsym
> symbol with SHN_UNDEF and zero st_value matters at all during
> dynamic linking.
At the time of linking a dynamic lib, you don't know whether such a sym
is referenced or not. There may be a regular file linked in after the
dynamic lib.
--
Alan Modra
IBM OzLabs - Linux Technology Centre