Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Mar 2015 17:38:26 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r280859 - in head: gnu/usr.bin/binutils usr.bin
Message-ID:  <201503301738.t2UHcQ5A015707@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: emaste
Date: Mon Mar 30 17:38:25 2015
New Revision: 280859
URL: https://svnweb.freebsd.org/changeset/base/280859

Log:
  Switch to ELF toolchain readelf(1)
  
  ELF toolchain readelf lacked some functionality at the time other tools
  (like size, strip, nm, etc.) were switched over to the ELF toolchain
  versions. That has been addressed as of the last update, so we can add
  it to the list.
  
  PR:		198950 [exp-run]
  Reviewed by:	bapt, imp, rpaulo
  Relnotes:	yes
  Sponsored by:	The FreeBSD Foundation
  Differential Revision:	https://reviews.freebsd.org/D2156

Modified:
  head/gnu/usr.bin/binutils/Makefile
  head/usr.bin/Makefile

Modified: head/gnu/usr.bin/binutils/Makefile
==============================================================================
--- head/gnu/usr.bin/binutils/Makefile	Mon Mar 30 17:15:48 2015	(r280858)
+++ head/gnu/usr.bin/binutils/Makefile	Mon Mar 30 17:38:25 2015	(r280859)
@@ -13,7 +13,7 @@ SUBDIR=	doc\
 	${_nm} \
 	objcopy \
 	objdump \
-	readelf \
+	${_readelf} \
 	${_size} \
 	${_strings} \
 	${_strip}
@@ -21,6 +21,7 @@ SUBDIR=	doc\
 .if ${MK_ELFTOOLCHAIN_TOOLS} == "no"
 _addr2line=	addr2line
 _nm=		nm
+_readelf=	readelf
 _size=		size
 _strings=	strings
 _strip=		strip

Modified: head/usr.bin/Makefile
==============================================================================
--- head/usr.bin/Makefile	Mon Mar 30 17:15:48 2015	(r280858)
+++ head/usr.bin/Makefile	Mon Mar 30 17:38:25 2015	(r280859)
@@ -133,6 +133,7 @@ SUBDIR=	${_addr2line} \
 	procstat \
 	protect \
 	rctl \
+	${_readelf} \
 	renice \
 	rev \
 	revoke \
@@ -238,6 +239,7 @@ SUBDIR+=	ee
 _addr2line=	addr2line
 _elfcopy=	elfcopy
 _nm=		nm
+_readelf=	readelf
 _size=		size
 _strings=	strings
 .endif



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201503301738.t2UHcQ5A015707>