From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9508 invoked by alias); 7 Jan 2010 13:42:11 -0000 Received: (qmail 9499 invoked by uid 22791); 7 Jan 2010 13:42:10 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 07 Jan 2010 13:42:06 +0000 Received: (qmail 7121 invoked from network); 7 Jan 2010 13:42:05 -0000 Received: from unknown (HELO caradoc.them.org) (dan@127.0.0.2) by mail.codesourcery.com with ESMTPA; 7 Jan 2010 13:42:05 -0000 Date: Thu, 07 Jan 2010 13:42:00 -0000 From: Daniel Jacobowitz To: Tristan Gingold Cc: Jan Kratochvil , gdb-patches@sourceware.org Subject: Re: Regression on prelinked-sepdebug-shlibs Message-ID: <20100107134201.GE22607@caradoc.them.org> References: <20091225200440.GA3747@host0.dyn.jankratochvil.net> <20100106180510.GA6748@host0.dyn.jankratochvil.net> <20100106191608.GA28581@caradoc.them.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) 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: 2010-01/txt/msg00136.txt.bz2 On Thu, Jan 07, 2010 at 12:03:04PM +0100, Tristan Gingold wrote: > I am not sure that you can create a linux native executable with a section whose vma is 0. I'm pretty sure you can't. The program headers are going to be at the start of the executable, before any section. So I'm not entirely sure what kind of executable you get from doing this :-) It's different if you use an embedded target, because ELF headers aren't typically mapped or loaded into memory. -- Daniel Jacobowitz CodeSourcery