From owner-freebsd-current@FreeBSD.ORG Sun Aug 8 09:32:25 2010 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 CD742106564A for ; Sun, 8 Aug 2010 09:32:25 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 975C98FC1F for ; Sun, 8 Aug 2010 09:32:25 +0000 (UTC) Received: by iwn10 with SMTP id 10so3560127iwn.13 for ; Sun, 08 Aug 2010 02:32:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=bsoRdqqnFBFs0Wf9B26JefEcfnfq5Aem2frfbT1VixI=; b=gE1LbCjQOHZCi0pB/D00WEFnw65wNfPjbhsLSo23jGqw0LlDKK7uZ58QutpDN/9ey9 ijr+mnOFDZwph+hFLWcA3/dC4lwtI5ydfz3hStQC3wku+mEjmVK5uablJ27cLZm5+H0G C7+5K/oUT1iEIQ1mpuVLYEc30wlclYTIi2580= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; b=kjxP6QjPhy4XaebpbvL+8+pDJfM6lt7HZnzWnozfgQgG5K6t+JjapyurwU4vRdehRP dOdPnFS2VwUXH+v6xrUu3Hfg4vMsk679cqdp55WlD0TJOIuSm+t9kA5wvbIFTXHsukm1 pzC4sSFSLinErOttpUrWYLcKlFUzzfVzXvJLk= MIME-Version: 1.0 Received: by 10.231.159.204 with SMTP id k12mr17020086ibx.42.1281259944891; Sun, 08 Aug 2010 02:32:24 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.231.158.71 with HTTP; Sun, 8 Aug 2010 02:32:24 -0700 (PDT) Date: Sun, 8 Aug 2010 17:32:24 +0800 X-Google-Sender-Auth: aHErWLAy0hQep82q97W-5O9AqVA Message-ID: From: Adrian Chadd To: freebsd-current Content-Type: text/plain; charset=ISO-8859-1 Subject: Call for review: crunchide MIPS support from NetBSD 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: Sun, 08 Aug 2010 09:32:25 -0000 Hi everyone, I've ported over the NetBSD crunchide elf32 code which modifies the way symbols are hidden. This allows it to generate crunched binaries for MIPS. The diff is available at - http://people.freebsd.org/~adrian/crunchide-mips32-fix-from-netbsd.diff I've ported it to use the ELF byteorder macros present in our tree. This allows it to build both native and cross-compiled MIPS crunched binaries. I've tested building a static and dynamic "rescue". I'd like to get some wider scale testing of this before I chase down getting it committed. The same code path is used for i386/amd64 crunched binaries and thus committing this may break building sysinstall and rescue on those platforms. Thanks, Adrian