From owner-freebsd-hackers@FreeBSD.ORG Tue Dec 4 19:11:44 2012 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A3BF4D4C for ; Tue, 4 Dec 2012 19:11:44 +0000 (UTC) (envelope-from lidl@hydra.pix.net) Received: from hydra.pix.net (hydra.pix.net [IPv6:2001:470:e254::3c]) by mx1.freebsd.org (Postfix) with ESMTP id 718358FC12 for ; Tue, 4 Dec 2012 19:11:44 +0000 (UTC) Received: from hydra.pix.net (localhost [127.0.0.1]) by hydra.pix.net (8.14.5/8.14.5) with ESMTP id qB4JBejG057342; Tue, 4 Dec 2012 14:11:40 -0500 (EST) (envelope-from lidl@hydra.pix.net) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.97.5 at mail.pix.net Received: (from lidl@localhost) by hydra.pix.net (8.14.5/8.14.5/Submit) id qB4JBeZc057341; Tue, 4 Dec 2012 14:11:40 -0500 (EST) (envelope-from lidl) Date: Tue, 4 Dec 2012 14:11:40 -0500 From: Kurt Lidl To: Erik Cederstrand Subject: Re: [CFT/RFC] Make crunched compatible with external linkers Message-ID: <20121204191140.GA56790@pix.net> References: <779286D2-F710-45FF-8C38-59513B5C1B7D@cederstrand.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <779286D2-F710-45FF-8C38-59513B5C1B7D@cederstrand.dk> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: FreeBSD Hackers , pete X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Dec 2012 19:11:44 -0000 On Tue, Dec 04, 2012 at 11:06:56AM +0100, Erik Cederstrand wrote: > Hello hackers, > > The following PR patches crunchide(1) to accept object files produced by the gold and mclinker linkers: http://www.freebsd.org/cgi/query-pr.cgi?pr=bin%2F174011 > > On behalf of the submitter, I'd like to request a review of the patch, and testing of crunchide/crunchgen especially on SPARC and ARM. I applied this patch to a 9/stable source tree, and was able to "buildworld" with it in place, on my sparc64 machine. I know that's not a great test case, but the patched binary is good enough to generate the objects that are needed for the 'rescue' binary. And that binary runs at least a trivial test of '/usr/obj/usr/src/rescue/rescue/rescue ifconfig -a' and produces correct output. -Kurt