From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15645 invoked by alias); 9 Oct 2007 18:59:39 -0000 Received: (qmail 15637 invoked by uid 22791); 9 Oct 2007 18:59:39 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 09 Oct 2007 18:59:34 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 1745C98339; Tue, 9 Oct 2007 18:59:33 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id D37979829E; Tue, 9 Oct 2007 18:59:32 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.68) (envelope-from ) id 1IfKIl-0000Jz-SL; Tue, 09 Oct 2007 14:59:31 -0400 Date: Tue, 09 Oct 2007 19:13:00 -0000 From: Daniel Jacobowitz To: Jan Kratochvil Cc: gdb-patches@sourceware.org Subject: Re: [patch] Parse DW_AT_ranges into PSYMTABS (for childless CU, for vDSO32) Message-ID: <20071009185931.GA1220@caradoc.them.org> Mail-Followup-To: Jan Kratochvil , gdb-patches@sourceware.org References: <20071009180246.GA26829@host0.dyn.jankratochvil.net> <20071009181701.GA30757@caradoc.them.org> <20071009185434.GA27810@host0.dyn.jankratochvil.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20071009185434.GA27810@host0.dyn.jankratochvil.net> User-Agent: Mutt/1.5.15 (2007-04-09) X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2007-10/txt/msg00214.txt.bz2 On Tue, Oct 09, 2007 at 08:54:34PM +0200, Jan Kratochvil wrote: > > I bet you don't need a custom linker script and -nostdlib to test > > this. Gas must be generating the DW_AT_ranges itself regardless of > > whether there's a gap. > > Which one, .space, .org +x? These all fill the space with flesh bytes. No, you just need the two sections. Does that work with the default linker script and without -nostdlib? Just call the entry point main instead of _start. At that point it doesn't need to be i386 specific, either (see any of the other tests in the same directory). -- Daniel Jacobowitz CodeSourcery