This is the mail archive of the 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: Special names tha ld needs to recognize for hppa64-hp-hpux11.X

> I'm pretty sure the case where "h == NULL" is the local symbol check.  I
> believe the h->dynindx == -1 verifies that we haven't created a dynamic
> symbol (which would indicate that we've already got a .opd for this symbol).
> This allocates space for the .opd entry, but doesn't initialize it.  But
> verifying that we've created the .opd space is probably the first step
> in debugging this problem.

I have confirmed that we do in fact have a .opd entry for do_exitcu.  Thus,
The problem must be that we are doing the relocations for
would appear that we are using the function address rather than the
address of the .opd entry.

I think I see the problem.  See line 1654 in elf-hppa.h.  I think we
need to use the .opd address for the LTOFF relocations, not the DLT

J. David Anglin                        
National Research Council of Canada              (613) 990-0752 (FAX: 952-6605)

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