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 support for DT_RUNPATH - it is just th...



details:   https://anonhg.NetBSD.org/src/rev/05f03cdf549a
branches:  trunk
changeset: 447080:05f03cdf549a
user:      martin <martin%NetBSD.org@localhost>
date:      Sun Dec 30 11:55:15 2018 +0000

description:
Add support for DT_RUNPATH - it is just the same as we always have treated
DT_RPATH.  Approved by core.

diffstat:

 libexec/ld.elf_so/headers.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r a957214367c2 -r 05f03cdf549a libexec/ld.elf_so/headers.c
--- a/libexec/ld.elf_so/headers.c       Sun Dec 30 09:19:04 2018 +0000
+++ b/libexec/ld.elf_so/headers.c       Sun Dec 30 11:55:15 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: headers.c,v 1.64 2018/07/24 13:48:48 joerg Exp $        */
+/*     $NetBSD: headers.c,v 1.65 2018/12/30 11:55:15 martin Exp $       */
 
 /*
  * Copyright 1996 John D. Polstra.
@@ -40,7 +40,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: headers.c,v 1.64 2018/07/24 13:48:48 joerg Exp $");
+__RCSID("$NetBSD: headers.c,v 1.65 2018/12/30 11:55:15 martin Exp $");
 #endif /* not lint */
 
 #include <err.h>
@@ -216,6 +216,7 @@
                        break;
 
                case DT_RPATH:
+               case DT_RUNPATH:
                        /*
                         * We have to wait until later to process this, because
                         * we might not have gotten the address of the string



Home | Main Index | Thread Index | Old Index