This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Serious ld issue on ppc64


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]