Serious ld issue on ppc64
Alan Modra
amodra@bigpond.net.au
Fri Mar 26 13:42:00 GMT 2004
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
More information about the Binutils
mailing list