From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23132 invoked by alias); 30 Jul 2004 12:59:18 -0000 Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Received: (qmail 23122 invoked from network); 30 Jul 2004 12:59:17 -0000 Received: from unknown (HELO mx-la.paetec.net) (64.80.125.114) by sourceware.org with SMTP; 30 Jul 2004 12:59:17 -0000 Received: from dtcnt40s4.dtccom.com ([66.153.88.146]) by mx-la.paetec.net (8.12.10/8.12.10) with ESMTP id i6UCwxU3003099; Fri, 30 Jul 2004 08:59:00 -0400 (EDT) Received: by DTCNT40S4 with Internet Mail Service (5.5.2653.19) id ; Fri, 30 Jul 2004 08:59:00 -0400 Message-ID: From: "Doyle, Patrick" To: "'Gary Thomas'" Cc: ecos discuss list Date: Fri, 30 Jul 2004 13:48:00 -0000 MIME-Version: 1.0 Content-Type: text/plain Subject: RE: [ECOS] binutils wizardry X-SW-Source: 2004-07/txt/msg00499.txt.bz2 > -----Original Message----- > From: Gary Thomas [mailto:gary@mlbassoc.com] > Sent: Friday, July 30, 2004 8:50 AM > To: Doyle, Patrick > Cc: ecos discuss list > Subject: Re: [ECOS] binutils wizardry > > > > Arrange to have your special data in it's own ELF section. > Then you can > use objcopy to adjust the address of that section (and leave the rest > alone). You should be able to work out the details to get > your program > to load one place and the data in a totally different one. > It's the "Arrange to have your special data in it's own ELF section" bit that I'm looking to get started on. Starting with the raw binary file, can I convince objcopy or ld to wrap the appropriate gizmos around it to turn it into an ELF section starting at address 0x80000? Once I have that, how can I glue that ELF section to the existing ELF application? While I'm looking for the "teach me how to fish" answer here, I'd be glad for the "give me a fish" solution as well -- I'll just reverse engineer the "teach me how to fish" from that :-) --wpd Patrick Doyle DSP Design Engineer (603) 546-2179 This communication is from DTC Communications, Inc. and is intended to be confidential and solely for the use of the persons or entities addressed above. If you are not an intended recipient, be aware that the information contained herein may be protected from unauthorized use by privilege or law, and any copying, distribution, disclosure, or other use of this information is prohibited. If you have received this communication in error, please contact the sender by return e-mail or telephone the above number immediately and delete or destroy all copies. Thank you for your cooperation. -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss