From 431bcfcdbde1606906a9c0be6930992e315dee5a Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Thu, 20 Apr 2017 13:57:53 +0000 Subject: [PATCH] elfcopy: document --strip-symbols=filename in the man page Reported by: bz MFC after: 1 week Sponsored by: The FreeBSD Foundation --- contrib/elftoolchain/elfcopy/elfcopy.1 | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/contrib/elftoolchain/elfcopy/elfcopy.1 b/contrib/elftoolchain/elfcopy/elfcopy.1 index 672885a8132b..3cf576491850 100644 --- a/contrib/elftoolchain/elfcopy/elfcopy.1 +++ b/contrib/elftoolchain/elfcopy/elfcopy.1 @@ -23,7 +23,7 @@ .\" .\" $Id: elfcopy.1 3426 2016-03-05 13:32:28Z emaste $ .\" -.Dd March 5, 2016 +.Dd April 20, 2017 .Os .Dt ELFCOPY 1 .Sh NAME @@ -83,6 +83,7 @@ .Op Fl -srec-forceS3 .Op Fl -srec-len Ns = Ns Ar val .Op Fl -strip-dwo +.Op Fl -strip-symbols= Ns Ar filename .Op Fl -strip-unneeded .Ar infile .Op Ar outfile @@ -339,6 +340,10 @@ This option is only meaningful when the output target is set to .Dq srec . .It Fl -strip-dwo Do not copy .dwo debug sections to the output file. +.It Fl -strip-symbols= Ns Ar filename +Do not copy any of the symbols specified by +.Ar filename +to the output. .It Fl -strip-unneeded Do not copy symbols that are not needed for relocation processing. .El