Skip to content

Commit

Permalink
Switch to ELF toolchain readelf(1)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
emaste committed Mar 30, 2015
1 parent 9d35b82 commit bcc7f33
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gnu/usr.bin/binutils/Makefile
Expand Up @@ -13,14 +13,15 @@ SUBDIR= doc\
${_nm} \
objcopy \
objdump \
readelf \
${_readelf} \
${_size} \
${_strings} \
${_strip}

.if ${MK_ELFTOOLCHAIN_TOOLS} == "no"
_addr2line= addr2line
_nm= nm
_readelf= readelf
_size= size
_strings= strings
_strip= strip
Expand Down
2 changes: 2 additions & 0 deletions usr.bin/Makefile
Expand Up @@ -133,6 +133,7 @@ SUBDIR= ${_addr2line} \
procstat \
protect \
rctl \
${_readelf} \
renice \
rev \
revoke \
Expand Down Expand Up @@ -238,6 +239,7 @@ SUBDIR+= ee
_addr2line= addr2line
_elfcopy= elfcopy
_nm= nm
_readelf= readelf
_size= size
_strings= strings
.endif
Expand Down

0 comments on commit bcc7f33

Please sign in to comment.