summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBreno Rodrigues Guimaraes <brenorg@gmail.com>2023-02-20 19:32:47 -0300
committerBreno Rodrigues Guimaraes <brenorg@gmail.com>2023-02-20 19:32:47 -0300
commitcd0926c73f09394a57089c5b8b5fe09a5341f3ce (patch)
tree50c722cb0342453e0dc7cf7861a6bb289dd67ff1
parent0b6b66687370f2ae97310edbdbd61e7a81ac3019 (diff)
downloadpatchelf-cd0926c73f09394a57089c5b8b5fe09a5341f3ce.tar.gz
Add description to patchelf.1
-rw-r--r--patchelf.14
-rw-r--r--src/patchelf.cc2
2 files changed, 5 insertions, 1 deletions
diff --git a/patchelf.1 b/patchelf.1
index 3d46f1f..ec9d995 100644
--- a/patchelf.1
+++ b/patchelf.1
@@ -123,6 +123,10 @@ Clears the executable flag of the GNU_STACK program header, or adds a new header
.IP "--set-execstack"
Sets the executable flag of the GNU_STACK program header, or adds a new header.
+.IP "--rename-dynamic-symbols NAME_MAP_FILE"
+Renames dynamic symbols. The name map file should contain two space separated
+names (old name and new name) per line.
+
.IP "--output FILE"
Set the output file name. If not specified, the input will be modified in place.
diff --git a/src/patchelf.cc b/src/patchelf.cc
index 847d4dc..afb97f7 100644
--- a/src/patchelf.cc
+++ b/src/patchelf.cc
@@ -2357,7 +2357,7 @@ void showHelp(const std::string & progName)
[--print-execstack]\t\tPrints whether the object requests an executable stack\n\
[--clear-execstack]\n\
[--set-execstack]\n\
- [--rename-dynamic-symbols NAME_MAP_FILE]\tRenames dynamic symbols. The name map file should contain two symbols (old_name new_name) per line\n\
+ [--rename-dynamic-symbols NAME_MAP_FILE]\tRenames dynamic symbols. The map file should contain two symbols (old_name new_name) per line\n\
[--output FILE]\n\
[--debug]\n\
[--version]\n\