Date: Fri, 21 Mar 2008 21:42:56 +0100 From: Max Laier <max@love2party.net> To: freebsd-hackers@freebsd.org Cc: Kai Wang <kaiwang27@gmail.com> Subject: Re: features of objcopy Message-ID: <200803212142.56886.max@love2party.net> In-Reply-To: <20080321200319.GA13917@plan0> References: <20080321200319.GA13917@plan0>
next in thread | previous in thread | raw e-mail | index | archive | help
On Friday 21 March 2008 21:03:19 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! > > 1. Do you often use object/strip on 'ar' archives? > > 2. Do you often convert ELF to raw binary, iHex, S-Record or > vice versa? > > 3. What features do you like to add into objcopy? > > 4. What features would be useful for FreeBSD build system > and is currently missing in objcopy? take a look at how we currently build firmware(9) modules (this concerns 2-4). Right now we use ld to convert a raw binary to something we can link and have basic symbols to find the start and length of the binary. This works, but not for all archs (ia64) and could be more comfortable. I remember that we tried GNU objcopy at first, but it didn't give what we were looking for - don't recall details, though. Let me know if you have questions about this. -- /"\ Best regards, | mlaier@freebsd.org \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | mlaier@EFnet / \ ASCII Ribbon Campaign | Against HTML Mail and News
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200803212142.56886.max>