From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27202 invoked by alias); 20 Jun 2006 12:37:41 -0000 Received: (qmail 27186 invoked by uid 22791); 20 Jun 2006 12:37:40 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Tue, 20 Jun 2006 12:37:36 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1FsfTk-0005N9-Ul; Tue, 20 Jun 2006 08:37:13 -0400 Date: Tue, 20 Jun 2006 12:56:00 -0000 From: Daniel Jacobowitz To: Frederic RISS Cc: Jim Blandy , Steven Johnson , gdb@sources.redhat.com Subject: Re: Problems with startup code symbols (Copious warnings) Message-ID: <20060620123712.GA20631@nevyn.them.org> Mail-Followup-To: Frederic RISS , Jim Blandy , Steven Johnson , gdb@sources.redhat.com References: <4487C21F.2090907@sakuraindustries.com> <44881434.2040207@sakuraindustries.com> <1150704956.2480.65.camel@crx549.cro.st.com> <20060620122112.GA20079@nevyn.them.org> <1150806737.2480.71.camel@crx549.cro.st.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1150806737.2480.71.camel@crx549.cro.st.com> User-Agent: Mutt/1.5.11+cvs20060403 X-IsSubscribed: yes 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 X-SW-Source: 2006-06/txt/msg00138.txt.bz2 On Tue, Jun 20, 2006 at 02:32:17PM +0200, Frederic RISS wrote: > Of course. But I don't see any non-embedded binary with a section loaded > at NULL. Probably... > And I don't see much embedded bootcode needing linkonce > sections. ... but not probably. Typical for a lot of embedded devices I've worked with is to have a single massive ELF image, including boot code and the entire remainder of the image, and to use C++ for most of it. I've definitely worked with images where this wouldn't help. > > Is that an improvement? I guess so. > > It's certainly better than the current HAS_RELOCS check. Yes, I think so. Want to do it, anybody? -- Daniel Jacobowitz CodeSourcery