From owner-freebsd-hackers@FreeBSD.ORG Mon Mar 24 14:06:38 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8D12D1065741 for ; Mon, 24 Mar 2008 14:06:38 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 846E68FC15 for ; Mon, 24 Mar 2008 14:06:38 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from zion.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by elvis.mu.org (Postfix) with ESMTP id 2312A1A4D7E; Mon, 24 Mar 2008 07:06:38 -0700 (PDT) From: John Baldwin To: freebsd-hackers@freebsd.org Date: Mon, 24 Mar 2008 09:41:08 -0400 User-Agent: KMail/1.9.7 References: <20080321200319.GA13917@plan0> In-Reply-To: <20080321200319.GA13917@plan0> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200803240941.08910.jhb@freebsd.org> Cc: Kai Wang Subject: Re: features of objcopy X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Mar 2008 14:06:38 -0000 On Friday 21 March 2008 04:03:19 pm Kai Wang wrote: > Hi list, > > I'm working on a BSD Licensed objcopy/strip rewrite(in p4) based on > libelf, I really want to know the answers to a few questions listed > below, and please do not hesitate if you have other related > suggestions. Thanks in advance! > > 2. Do you often convert ELF to raw binary, iHex, S-Record or > vice versa? See src/sys/boot/i386/boot2/Makefile for an example of using objcopy for this during the build. -- John Baldwin