emaste retitled this revision from "elfcopy: Consider program name to start
after last -" to "elfcopy: Select mode by the end of the program name".
emaste updated the summary for this revision.
emaste updated this revision to Diff 3418.
emaste added a comment.
Output a warning if the program name
emaste updated this revision to Diff 3417.
emaste added a comment.
This revision now requires review to proceed.
Just compare the end of the program name with strip/mcs rather than looking for
a dash. This is the way it's done in FreeBSD ar/ranlib already, and allows
names like bsdstrip. Also ad
dim added a subscriber: dim.
dim accepted this revision.
dim added a reviewer: dim.
dim added a comment.
This revision is now accepted and ready to land.
LGTM.
REVISION DETAIL
https://reviews.freebsd.org/D1663
To: emaste, dim
Cc: dim, freebsd-toolchain
_
emaste created this revision.
emaste added a subscriber: freebsd-toolchain.
REVISION SUMMARY
If the program name has a dash in it, consider the name to start after the
last dash. We select the mode of operation (elfcopy, mcs, or strip) based on
the program name.
This improves use of these