[Differential] [Updated, 49 lines] D1663: elfcopy: Consider program name to start after last -

emaste (Ed Maste) phabric-noreply at FreeBSD.org
Sun Jan 25 01:56:30 UTC 2015


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 add a test case.

CHANGES SINCE LAST UPDATE
  https://reviews.freebsd.org/D1663?vs=3416&id=3417

REVISION DETAIL
  https://reviews.freebsd.org/D1663

AFFECTED FILES
  elfcopy/main.c
  test/elfcopy/func.sh
  test/elfcopy/tc/strip-basename-1/strip-basename-1.sh

To: emaste, dim
Cc: dim, freebsd-toolchain


More information about the freebsd-toolchain mailing list