From owner-svn-doc-all@FreeBSD.ORG Sat Jan 10 00:10:53 2015 Return-Path: Delivered-To: svn-doc-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BBE1A9E2; Sat, 10 Jan 2015 00:10:53 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A819D1DA; Sat, 10 Jan 2015 00:10:53 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t0A0ArvC072243; Sat, 10 Jan 2015 00:10:53 GMT (envelope-from bjk@FreeBSD.org) Received: (from bjk@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t0A0Aruc072242; Sat, 10 Jan 2015 00:10:53 GMT (envelope-from bjk@FreeBSD.org) Message-Id: <201501100010.t0A0Aruc072242@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: bjk set sender to bjk@FreeBSD.org using -f From: Benjamin Kaduk Date: Sat, 10 Jan 2015 00:10:53 +0000 (UTC) To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r46180 - head/en_US.ISO8859-1/htdocs/news/status X-SVN-Group: doc-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-doc-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "SVN commit messages for the entire doc trees \(except for " user" , " projects" , and " translations" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Jan 2015 00:10:53 -0000 Author: bjk Date: Sat Jan 10 00:10:52 2015 New Revision: 46180 URL: https://svnweb.freebsd.org/changeset/doc/46180 Log: Add report for ELF Tool Chain tools migration Approved by: hrs (mentor, blanket) Modified: head/en_US.ISO8859-1/htdocs/news/status/report-2014-10-2014-12.xml Modified: head/en_US.ISO8859-1/htdocs/news/status/report-2014-10-2014-12.xml ============================================================================== --- head/en_US.ISO8859-1/htdocs/news/status/report-2014-10-2014-12.xml Sat Jan 10 00:01:13 2015 (r46179) +++ head/en_US.ISO8859-1/htdocs/news/status/report-2014-10-2014-12.xml Sat Jan 10 00:10:52 2015 (r46180) @@ -1459,4 +1459,90 @@ + + Migration to ELF Tool Chain tools + + + + + Ed + Maste + + emaste@freebsd.org + + + + + + + + +

The ELF Tool Chain project provides BSD licensed + implementations of compilation tools and libraries for building + and analyzing ELF objects. It started as part of &os; but has + moved to a standalone project to encourage wider participation + from others in the open-source developer community. &os;'s + libelf and libdwarf are now imported from upstream source in + contrib/elftoolchain.

+ +

ELF Tool Chain provides a set of tools equivalent to the + GNU Binutils suite. This project's goal is to import these tools + into the &os; base system so that we have a set of up-to-date + and maintained tools that also provide support for new CPU + architectures of interest, such as arm64.

+ +

The following tools have now been imported and are available by + setting the src.conf knob WITH_ELFTOOLCHAIN_TOOLS=yes:

+ +
    +
  • addr2line
  • +
  • nm
  • +
  • size
  • +
  • strings
  • +
  • strip (elfcopy)
  • +
+ +

A ports exp-run uncovered some bugs in these tools. The + bugs are being fixed in the &os; source tree and are in the + process of being committed to the upstream project.

+ +

ELF Tool Chain's readelf will be enabled as well once some + missing functionality in ELF note parsing is added. ELF Tool + Chain's elfcopy provides equivalent functionality to Binutils + objcopy, and accepts the same command-line arguments. For it to be + a viable replacement for all uses of objcopy in the base system it + will need to gain support for writing portable exectuable (PE) + format binaries, which are used in by UEFI boot code.

+ +

The ELF Tool Chain project does not currently provide + replacements for as, ld, and objdump. For &os; these tools will + likely be obtained from the LLVM project.

+ + + The &os; Foundation + + + +

Import readelf.

+
+ + +

Add missing functionality to readelf.

+
+ + +

Add missing functionality to elfcopy and migrate the base system + build.

+
+ + +

Fix issues found by fuzzing inputs to the tools.

+
+ + +

Switch the default to WITH_ELFTOOLCHAIN_TOOLS.

+
+
+
+