From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29975 invoked by alias); 12 Feb 2002 19:05:20 -0000 Mailing-List: contact binutils-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sources.redhat.com Received: (qmail 29809 invoked from network); 12 Feb 2002 19:05:16 -0000 Received: from unknown (HELO hiauly1.hia.nrc.ca) (132.246.100.193) by sources.redhat.com with SMTP; 12 Feb 2002 19:05:16 -0000 Received: from hiauly1.hia.nrc.ca (localhost [127.0.0.1]) by hiauly1.hia.nrc.ca (8.12.0.Beta16/8.12.0.Beta16) with ESMTP id g1CJ59FN026368; Tue, 12 Feb 2002 14:05:10 -0500 (EST) Received: (from dave@localhost) by hiauly1.hia.nrc.ca (8.12.0.Beta16/8.12.0.Beta16) id g1CJ59MI026367; Tue, 12 Feb 2002 14:05:09 -0500 (EST) Message-Id: <200202121905.g1CJ59MI026367@hiauly1.hia.nrc.ca> Subject: Re: Special names tha ld needs to recognize for hppa64-hp-hpux11.X To: law@redhat.com Date: Tue, 12 Feb 2002 11:07:00 -0000 From: "John David Anglin" Cc: binutils@sources.redhat.com In-Reply-To: <5963.1013532186@porcupine.cygnus.com> from "law@redhat.com" at Feb 12, 2002 09:43:06 am X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-SW-Source: 2002-02/txt/msg00418.txt.bz2 > 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)