From owner-freebsd-current@FreeBSD.ORG Mon Jan 14 04:12:43 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5906916A419 for ; Mon, 14 Jan 2008 04:12:43 +0000 (UTC) (envelope-from peter@wemm.org) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.159]) by mx1.freebsd.org (Postfix) with ESMTP id F0D3913C467 for ; Mon, 14 Jan 2008 04:12:42 +0000 (UTC) (envelope-from peter@wemm.org) Received: by fg-out-1718.google.com with SMTP id 16so2316717fgg.35 for ; Sun, 13 Jan 2008 20:12:41 -0800 (PST) Received: by 10.82.149.8 with SMTP id w8mr10148105bud.24.1200283961282; Sun, 13 Jan 2008 20:12:41 -0800 (PST) Received: by 10.82.181.17 with HTTP; Sun, 13 Jan 2008 20:12:41 -0800 (PST) Message-ID: Date: Sun, 13 Jan 2008 20:12:41 -0800 From: "Peter Wemm" To: "David O'Brien" , freebsd-current@freebsd.org In-Reply-To: <20080113191037.GA1899@plan0.kaiwan.csbnet.se> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20080111142336.GA1379@plan0.kaiwan.csbnet.se> <20080113103501.GB46123@dragon.NUXI.org> <20080113171514.GA1210@plan0.kaiwan.csbnet.se> <20080113183915.GA56979@dragon.NUXI.org> <20080113191037.GA1899@plan0.kaiwan.csbnet.se> Cc: Subject: Re: [Call for testers] "BSD ar" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Jan 2008 04:12:43 -0000 On Jan 13, 2008 11:10 AM, Kai Wang wrote: > On Sun, Jan 13, 2008 at 10:39:15AM -0800, David O'Brien wrote: > > Hi Kai, > > I'm sorry I wasn't clear enough - can your BSD 'ar', built on amd64 > > handle both 32-bit (i.e., "i386") and 64-bit (i.e., "amd64) ELF archives? > > > > >From the above it almost seems you're saying it can handle that plus more > > (other non-x86 arches). Is that correct? > > Yes. BSD 'ar' can handle all the ELF variants(64/32, LE/BE), > regardless of the arch it is built on . This is inherited from libelf. Speaking of libelf.. Do you think I can tempt anybody into writing a mcs(1) program? http://cc.in2p3.fr/doc/phpman.php/man/mcs/1 DESCRIPTION The mcs command is used to manipulate a section, by default the .comment section, in an ELF object file. It is used to add to, delete, print, and compress the contents of a sec- tion in an ELF object file ... The main usefulness is adding custom comments to the #ident section, printing the contents (ala ident(1)), removing duplicate comments, or stripping the comments totally. I've always missed this program... it never made it into binutils. -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com "All of this is for nothing if we don't go to the stars" - JMS/B5