summaryrefslogtreecommitdiff
path: root/patchelf.1
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2023-02-23 19:59:57 +0000
committerGitHub <noreply@github.com>2023-02-23 19:59:57 +0000
commitda035d6acee1e5a608aafe5f6572a67609b0198a (patch)
treecc4049afe9ba658df5b02c84a826f235dfbb3b68 /patchelf.1
parente37f892b12ff900ab5e733f688548c87cd14ef02 (diff)
parentaeb34c2cc9d473319f320db49cd20e7e9ea4bff8 (diff)
downloadpatchelf-da035d6acee1e5a608aafe5f6572a67609b0198a.tar.gz
Merge #459
459: Add feature to rename dynamic symbols r=Mic92 a=brenoguim Co-authored-by: Breno Rodrigues Guimaraes <brenorg@gmail.com> Co-authored-by: Breno Rodrigues Guimarães <brenorg@gmail.com> Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
Diffstat (limited to 'patchelf.1')
-rw-r--r--patchelf.18
1 files changed, 8 insertions, 0 deletions
diff --git a/patchelf.1 b/patchelf.1
index 3d46f1f..6a8a94e 100644
--- a/patchelf.1
+++ b/patchelf.1
@@ -123,6 +123,14 @@ 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 lines
+with the old and the new name separated by spaces like this:
+
+old_name new_name
+
+Symbol names do not contain version specifier that are also shown in the output of the nm -D command from binutils. So instead of the name write@GLIBC_2.2.5 it is just write.
+
.IP "--output FILE"
Set the output file name. If not specified, the input will be modified in place.