Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/libexec/ld.elf_so Add an explicit note about the search path...



details:   https://anonhg.NetBSD.org/src/rev/3088e0c861cc
branches:  trunk
changeset: 339191:3088e0c861cc
user:      joerg <joerg%NetBSD.org@localhost>
date:      Fri Jul 03 10:19:29 2015 +0000

description:
Add an explicit note about the search path used by dlopen(3).

diffstat:

 libexec/ld.elf_so/ld.elf_so.1 |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r 7aa9a6ffd8f5 -r 3088e0c861cc libexec/ld.elf_so/ld.elf_so.1
--- a/libexec/ld.elf_so/ld.elf_so.1     Fri Jul 03 02:24:28 2015 +0000
+++ b/libexec/ld.elf_so/ld.elf_so.1     Fri Jul 03 10:19:29 2015 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: ld.elf_so.1,v 1.15 2010/12/17 08:50:26 wiz Exp $
+.\"    $NetBSD: ld.elf_so.1,v 1.16 2015/07/03 10:19:29 joerg Exp $
 .\"
 .\" Copyright (c) 2001 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -89,6 +89,11 @@
 .Pa /usr/lib .
 .El
 .Pp
+Dynamic loading via
+.Xr dlopen 3
+uses the DT_RPATH entries of the main binary, independently of which object
+the call came from.
+.Pp
 .Nm
 will expand the following variables if present in the paths:
 .Bl -tag -width $PLATFORM



Home | Main Index | Thread Index | Old Index