[Differential] [Request, 3 lines] D1663: elfcopy: Consider program name to start after last -
emaste (Ed Maste)
phabric-noreply at FreeBSD.org
Sun Jan 25 00:39:46 UTC 2015
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 tools as drop-in replacements for GNU objcopy and strip, which are built with a limited set of supported targets and often installed with a target prefix for cross tools (e.g. aarch64-freebsd-strip).
REVISION DETAIL
https://reviews.freebsd.org/D1663
AFFECTED FILES
elfcopy/main.c
To: emaste
Cc: freebsd-toolchain
More information about the freebsd-toolchain
mailing list