From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2988 invoked by alias); 20 Jun 2006 13:00:44 -0000 Received: (qmail 2980 invoked by uid 22791); 20 Jun 2006 13:00:43 -0000 X-Spam-Check-By: sourceware.org Received: from lon-del-03.spheriq.net (HELO lon-del-03.spheriq.net) (195.46.50.99) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 20 Jun 2006 13:00:41 +0000 Received: from lon-out-01.spheriq.net ([195.46.50.129]) by lon-del-03.spheriq.net with ESMTP id k5KD0a6R010347 for ; Tue, 20 Jun 2006 13:00:36 GMT Received: from lon-cus-01.spheriq.net (lon-cus-01.spheriq.net [195.46.50.37]) by lon-out-01.spheriq.net with ESMTP id k5KD0YII006902 for ; Tue, 20 Jun 2006 13:00:35 GMT Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by lon-cus-01.spheriq.net with ESMTP id k5KD0Urg026890 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Tue, 20 Jun 2006 13:00:33 GMT Received: from zeta.dmz-eu.st.com (ns2.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id F2A36DA87; Tue, 20 Jun 2006 13:00:02 +0000 (GMT) Received: from mail1.cro.st.com (mail1.cro.st.com [164.129.40.131]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 31B794757E; Tue, 20 Jun 2006 12:59:40 +0000 (GMT) Received: from crx549.cro.st.com (crx549.cro.st.com [164.129.44.49]) by mail1.cro.st.com (MOS 3.5.8-GR) with ESMTP id CHS82499 (AUTH "frederic riss"); Tue, 20 Jun 2006 14:59:37 +0200 (CEST) Subject: Re: Problems with startup code symbols (Copious warnings) From: Frederic RISS To: Daniel Jacobowitz Cc: Jim Blandy , Steven Johnson , gdb@sources.redhat.com In-Reply-To: <20060620123712.GA20631@nevyn.them.org> 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> <20060620123712.GA20631@nevyn.them.org> Content-Type: text/plain Date: Tue, 20 Jun 2006 13:09:00 -0000 Message-Id: <1150808381.2480.85.camel@crx549.cro.st.com> Mime-Version: 1.0 X-Mailer: Evolution 2.6.0 Content-Transfer-Encoding: 7bit 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/msg00140.txt.bz2 On Tue, 2006-06-20 at 08:37 -0400, Daniel Jacobowitz wrote: > > 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. I said I must have missed something in my initial mail :-) > > > 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? I'll give it a try, if nobody beats me at it. I won't have any time in the upcoming days though, so don't expect it too soon.