Skip to content

Commit aaecc8c

Browse files
committed
doc: document the --remove-needed-version switch
1 parent 01a4f02 commit aaecc8c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

patchelf.1

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,11 @@ This means that when a shared library has an entry point (so that it
114114
can be run as an executable), the debugger does not connect to it correctly and
115115
symbols are not resolved.
116116

117+
.IP "--remove-needed-version LIBRARY VERSION_SYMBOL"
118+
Removes VERSION_SYMBOL from LIBRARY in .gnu.version_r and resets entries referenced
119+
the version in .gnu.version, could be used to remove symbol versioning. LIBRARY and
120+
VERSION_SYMBOL can be retrieved from the output of "readelf -V".
121+
117122
.IP "--print-execstack"
118123
Prints the state of the executable flag of the GNU_STACK program header, if present.
119124

0 commit comments

Comments
 (0)