summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--patchelf.110
1 files changed, 10 insertions, 0 deletions
diff --git a/patchelf.1 b/patchelf.1
index abdbfa1..92e1729 100644
--- a/patchelf.1
+++ b/patchelf.1
@@ -29,9 +29,19 @@ INTERPRETER.
.IP --print-interpreter
Prints the ELF interpreter of the executable.
+.IP --print-soname
+Prints DT_SONAME entry of .dynamic section.
+Raises an error if DT_SONAME doesn't exist.
+
+.IP "--set-soname SONAME"
+Sets DT_SONAME entry of a library to SONAME.
+
.IP "--set-rpath RPATH"
Change the RPATH of the executable or library to RPATH.
+.IP --remove-rpath
+Removes the DT_RPATH or DT_RUNPATH entry of the executable or library.
+
.IP --shrink-rpath
Remove from the RPATH all directories that do not contain a
library referenced by DT_NEEDED fields of the executable or library.