From 6148cae6bee764530dadc4a3993753c6a5b8f15d Mon Sep 17 00:00:00 2001 From: darealshinji Date: Fri, 24 Jul 2015 20:34:42 +0200 Subject: Document three missing commands in manpage --print-soname --set-soname --remove-rpath --- patchelf.1 | 10 ++++++++++ 1 file changed, 10 insertions(+) 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. -- cgit v0.12