diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2023-02-23 19:59:57 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-23 19:59:57 +0000 |
commit | da035d6acee1e5a608aafe5f6572a67609b0198a (patch) | |
tree | cc4049afe9ba658df5b02c84a826f235dfbb3b68 /patchelf.1 | |
parent | e37f892b12ff900ab5e733f688548c87cd14ef02 (diff) | |
parent | aeb34c2cc9d473319f320db49cd20e7e9ea4bff8 (diff) | |
download | patchelf-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.1 | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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. |