freebsd-nq/contrib/elftoolchain/elfcopy
Ed Maste d2972ce0cb elfcopy: select mode by the end of the program name
The mode of operation (elfcopy, mcs, or strip) is chosen based on the
program name.  Broaden this to allow a substring match at the end of the
name to allow prefixes - for example, bsdstrip or aarch64-freebsd-strip.

This improves use of these tools as drop-in replacements for GNU objcopy
and strip, which are often built with a limited set of supported targets
and installed with a target prefix for cross tools.

Reviewed by:	dim
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D1663
2016-10-22 23:49:06 +00:00
..
archive.c Update to ELF Tool Chain r3490 2016-08-31 15:05:04 +00:00
ascii.c Update to ELF Tool Chain r3490 2016-08-31 15:05:04 +00:00
binary.c Update to ELF Tool Chain r3475 2016-05-20 17:24:34 +00:00
elfcopy.1 Update to ELF Tool Chain r3475 2016-05-20 17:24:34 +00:00
elfcopy.h Update to ELF Tool Chain r3475 2016-05-20 17:24:34 +00:00
main.c elfcopy: select mode by the end of the program name 2016-10-22 23:49:06 +00:00
Makefile Update ELF Tool Chain to upstream rev 3400 2016-02-12 20:54:02 +00:00
mcs.1
pe.c Update to ELF Tool Chain r3490 2016-08-31 15:05:04 +00:00
sections.c Update to ELF Tool Chain r3475 2016-05-20 17:24:34 +00:00
segments.c Update to ELF Tool Chain r3475 2016-05-20 17:24:34 +00:00
strip.1
symbols.c Update to ELF Tool Chain r3475 2016-05-20 17:24:34 +00:00