public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: "John David Anglin" <dave@hiauly1.hia.nrc.ca>
To: law@redhat.com
Cc: binutils@sources.redhat.com
Subject: Re: Special names tha ld needs to recognize for hppa64-hp-hpux11.X
Date: Tue, 12 Feb 2002 11:07:00 -0000	[thread overview]
Message-ID: <200202121905.g1CJ59MI026367@hiauly1.hia.nrc.ca> (raw)
In-Reply-To: <5963.1013532186@porcupine.cygnus.com> from "law@redhat.com" at Feb 12, 2002 09:43:06 am

> 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)

  reply	other threads:[~2002-02-12 19:05 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <200202111958.g1BJwRAQ022031@hiauly1.hia.nrc.ca>
2002-02-11 15:35 ` law
2002-02-11 18:40   ` John David Anglin
2002-02-12 11:01     ` law
2002-02-12 11:07       ` John David Anglin [this message]
2002-02-12 13:19         ` law
2002-02-12 14:09           ` John David Anglin
     [not found] <no.id>
2002-02-09 17:47 ` John David Anglin
2002-02-12 16:14 ` John David Anglin
2002-02-12 17:38   ` law
2002-02-26 15:20     ` John David Anglin
2002-02-26 21:58       ` Alan Modra
2002-02-27  0:32         ` John David Anglin
2002-03-05  9:57       ` law
2002-01-22 11:34 John David Anglin
2002-01-22 12:10 ` DJ Delorie
2002-01-22 13:39 ` law
2002-01-22 13:58   ` John David Anglin
2002-02-07 14:10   ` John David Anglin
2002-02-08 17:55     ` amodra
2002-02-08 15:27   ` John David Anglin
2002-02-11  9:27     ` law
2002-02-11 10:07       ` John David Anglin
2002-02-11 13:48         ` law
2002-02-12 14:53           ` John David Anglin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200202121905.g1CJ59MI026367@hiauly1.hia.nrc.ca \
    --to=dave@hiauly1.hia.nrc.ca \
    --cc=binutils@sources.redhat.com \
    --cc=law@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).