From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13491 invoked by alias); 2 Sep 2005 17:09:51 -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 12884 invoked by uid 22791); 2 Sep 2005 17:09:29 -0000 Received: from dair.pair.com (HELO dair.pair.com) (209.68.1.49) by sourceware.org (qpsmtpd/0.30-dev) with SMTP; Fri, 02 Sep 2005 17:09:29 +0000 Received: (qmail 99628 invoked by uid 20157); 2 Sep 2005 17:09:27 -0000 Date: Fri, 02 Sep 2005 18:42:00 -0000 From: Hans-Peter Nilsson X-X-Sender: hp@dair.pair.com To: Dmitry Diky cc: binutils@sourceware.org Subject: Re: dwarf2 and linker relaxation problem In-Reply-To: <200509022043.11046.ddiky@alarity.com> Message-ID: References: <200509012036.51309.ddiky@alarity.com> <200509021143.46238.ddiky@alarity.com> <200509022043.11046.ddiky@alarity.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SW-Source: 2005-09/txt/msg00044.txt.bz2 On Fri, 2 Sep 2005, Dmitry Diky wrote: > I do not delete any relocations until linker. I don't know how to put it clearer than with Ian's example. If the assembler doesn't emit a relocation for those expressions, linker relaxation will not work, unless the linker actually parses the format of the data in that section. > The linker itself does not reloc much in debug sections. Seems like a clue that the assembler didn't emit relocations where it must, for linker relaxation. brgds, H-P