aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoachim Wuttke <j.wuttke@fz-juelich.de>2024-04-23 09:53:03 +0200
committerAlejandro Colomar <alx@kernel.org>2024-05-08 00:50:04 +0200
commitdb038e4c4626ca2d1ac8b5ded82152762c9832e8 (patch)
treef3b04a075226ab7a68c52c293f50b980bba3bc53
parent5143d6c6fd31a41b7031e6f699ced6ae9dd6696b (diff)
downloadman-pages-master.tar.gz
elf.5, ld.so.8: Undeprecate DT_RPATH; explain DT_RPATH vs DT_RUNPATHHEADmaster
In elf.5 and ld.so.8, remove deprecation of DT_RPATH In elf.5, amend the description of DT_RUNPATH and DT_RPATH. Rationale: There is no credible path towards removal of DT_RPATH. Lots of software depend on DT_RPATH as is. It is used e.g. for testing and in binary installers. Cc: Joseph Myers <josmyers@redhat.com> Cc: Mike Frysinger <vapier@gentoo.org> Cc: <bug-binutils@gnu.org> Signed-off-by: Joachim Wuttke <j.wuttke@fz-juelich.de> Signed-off-by: Alejandro Colomar <alx@kernel.org>
-rw-r--r--man/man5/elf.54
-rw-r--r--man/man8/ld.so.81
2 files changed, 2 insertions, 3 deletions
diff --git a/man/man5/elf.5 b/man/man5/elf.5
index 9aff88afb3..57136159cd 100644
--- a/man/man5/elf.5
+++ b/man/man5/elf.5
@@ -1787,7 +1787,7 @@ Address of the termination function
String table offset to name of shared object
.TP
.B DT_RPATH
-String table offset to library search path (deprecated)
+String table offset to search path for direct and indirect library dependencies
.TP
.B DT_SYMBOLIC
Alert linker to search this shared object before the executable for symbols
@@ -1819,7 +1819,7 @@ Instruct dynamic linker to process all relocations before
transferring control to the executable
.TP
.B DT_RUNPATH
-String table offset to library search path
+String table offset to search path for direct library dependencies
.TP
.B DT_LOPROC
.TQ
diff --git a/man/man8/ld.so.8 b/man/man8/ld.so.8
index fa75b7820a..23cddb9df9 100644
--- a/man/man8/ld.so.8
+++ b/man/man8/ld.so.8
@@ -61,7 +61,6 @@ then it is searched for in the following order:
Using the directories specified in the
DT_RPATH dynamic section attribute
of the binary if present and DT_RUNPATH attribute does not exist.
-Use of DT_RPATH is deprecated.
.IP (2)
Using the environment variable
.BR LD_LIBRARY_PATH ,