Based on patches from H J Lu <hjl@zoom.com>:
authorIan Lance Taylor <ian@airs.com>
Mon, 29 Jan 1996 22:39:21 +0000 (22:39 +0000)
committerIan Lance Taylor <ian@airs.com>
Mon, 29 Jan 1996 22:39:21 +0000 (22:39 +0000)
commit5da470b2bb32ad73eeef6cf9fb2b3bc8b12482ee
tree7be96a61c6a6c4d420db97ebf7b23ade677ee52d
parent3e78d072415b4f1f916fc09afdfd27fb16a9804a
Based on patches from H J Lu <hjl@zoom.com>:
* objcopy.c (remove_leading_char): New static variable.
(OPTION_REMOVE_LEADING_CHAR): Define.
(copy_usage): Mention --remove-leading-char.
(filter_symbols): If remove_leading_char, and the first character
of a global symbol matches the symbol leading char of the BFD,
remove the first character.
(copy_object): Filter the symbols if remove_leading_char is set.
(copy_main): Handle --remove-leading-char.
* binutils.texi, objcopy.1: Document --remove-leading-char.
binutils/ChangeLog
binutils/binutils.texi
binutils/objcopy.1