From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32640 invoked by alias); 2 Sep 2005 09:28:05 -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 32533 invoked by uid 22791); 2 Sep 2005 09:27:47 -0000 Received: from [82.140.113.2] (HELO freebsd.argus-neva.ru) (82.140.113.2) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Fri, 02 Sep 2005 09:27:47 +0000 Received: from wild.alarity.com ([10.0.0.81]) by freebsd.argus-neva.ru (8.12.6/8.12.6) with ESMTP id j829TCxG013346; Fri, 2 Sep 2005 13:29:12 +0400 (MSD) (envelope-from ddiky@alarity.com) From: Dmitry Diky Reply-To: ddiky@alarity.com To: binutils@sources.redhat.com Subject: Re: dwarf2 and linker relaxation problem Date: Fri, 02 Sep 2005 09:28:00 -0000 User-Agent: KMail/1.7.2 Cc: Nick Clifton , binutils@sourceware.org, jimb@redhat.com References: <200509012036.51309.ddiky@alarity.com> <200509021143.46238.ddiky@alarity.com> <43181282.1080003@redhat.com> In-Reply-To: <43181282.1080003@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200509021328.00881.ddiky@alarity.com> X-SW-Source: 2005-09/txt/msg00028.txt.bz2 Hi Nick, > Why not do what sh_elf_relax_delete_bytes() does ? Scan through the > sections attached to the bfd and look for dwarf2 sections which might > contain references into the relaxed section ? Yes, I do this. But it seems that dwarf2 sections do not contain any references into relaxed sections. Well, yes, it does contain a reference to '.text' , but i cannot find any references to, say, linenumbers. Cheers, Dmitry. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32643 invoked by alias); 2 Sep 2005 09:28:06 -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 32533 invoked by uid 22791); 2 Sep 2005 09:27:47 -0000 Received: from [82.140.113.2] (HELO freebsd.argus-neva.ru) (82.140.113.2) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Fri, 02 Sep 2005 09:27:47 +0000 Received: from wild.alarity.com ([10.0.0.81]) by freebsd.argus-neva.ru (8.12.6/8.12.6) with ESMTP id j829TCxG013346; Fri, 2 Sep 2005 13:29:12 +0400 (MSD) (envelope-from ddiky@alarity.com) From: Dmitry Diky Reply-To: ddiky@alarity.com To: binutils@sources.redhat.com Subject: Re: dwarf2 and linker relaxation problem Date: Fri, 02 Sep 2005 09:35:00 -0000 User-Agent: KMail/1.7.2 Cc: Nick Clifton , binutils@sourceware.org, jimb@redhat.com References: <200509012036.51309.ddiky@alarity.com> <200509021143.46238.ddiky@alarity.com> <43181282.1080003@redhat.com> In-Reply-To: <43181282.1080003@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-ID: <200509021328.00881.ddiky@alarity.com> X-SW-Source: 2005-09/txt/msg00029.txt.bz2 Message-ID: <20050902093500.Wdbpop4pIfRAn46d2eb3nEcJQghqVy6Xr-lajZIFV-8@z> Hi Nick, > Why not do what sh_elf_relax_delete_bytes() does ? Scan through the > sections attached to the bfd and look for dwarf2 sections which might > contain references into the relaxed section ? Yes, I do this. But it seems that dwarf2 sections do not contain any references into relaxed sections. Well, yes, it does contain a reference to '.text' , but i cannot find any references to, say, linenumbers. Cheers, Dmitry.