From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13043 invoked by alias); 7 Nov 2005 14:39:36 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 12997 invoked by uid 22791); 7 Nov 2005 14:39:34 -0000 Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Mon, 07 Nov 2005 14:39:34 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1EZ89k-00016D-0N; Mon, 07 Nov 2005 09:39:32 -0500 Date: Mon, 07 Nov 2005 14:39:00 -0000 From: Daniel Jacobowitz To: Ivan Pantushev Cc: gdb@sources.redhat.com Subject: Re: Question about "gnu.linkonce.wi." sections Message-ID: <20051107143931.GA4187@nevyn.them.org> Mail-Followup-To: Ivan Pantushev , gdb@sources.redhat.com References: <20051107143158.CD8DD83C08@ws1-1.us4.outblaze.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20051107143158.CD8DD83C08@ws1-1.us4.outblaze.com> User-Agent: Mutt/1.5.8i X-SW-Source: 2005-11/txt/msg00151.txt.bz2 On Mon, Nov 07, 2005 at 09:31:58AM -0500, Ivan Pantushev wrote: > > #19 means that this is a reference to another compilation unit. You > > are looking at an unlinked object file. That means that there are > > unapplied relocations; take a look at the readelf -r output and you can > > work out which section the relocation at that offset is targetting. If > > there's no relocation, it's the current section. > > The output of the "readelf -r" is "There are no relocations in this file.". > > If by "current section" you mean the ".debug_info" then there is no type > information at offset 0x19. The first compile unit starts at offset 0 and > the second at offset 0x53. There is nothing between them. Please send me this object file offlist. -- Daniel Jacobowitz CodeSourcery, LLC