svn commit: r280859 - in head: gnu/usr.bin/binutils usr.bin

Ed Maste emaste at FreeBSD.org
Mon Mar 30 17:38:27 UTC 2015


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


More information about the svn-src-head mailing list