This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Special names tha ld needs to recognize for hppa64-hp-hpux11.X
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- To: law at redhat dot com
- Cc: binutils at sources dot redhat dot com
- Date: Tue, 12 Feb 2002 14:05:08 -0500 (EST)
- Subject: 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
R_PARISC_LTOFF_FPTR21L and R_PARISC_LTOFF_FPTR14DR incorrectly. It
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
offset.
Dave
--
J. David Anglin dave.anglin@nrc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6605)