Module Name: src
Committed By: martin
Date: Sun Dec 30 11:55:15 UTC 2018
Modified Files:
src/libexec/ld.elf_so: headers.c
Log Message:
Add support for DT_RUNPATH - it is just the same as we always have treated
DT_RPATH. Approved by core.
To generate a diff of this commit:
cvs rdiff -u -r1.64 -r1.65 src/libexec/ld.elf_so/headers.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/libexec/ld.elf_so/headers.c
diff -u src/libexec/ld.elf_so/headers.c:1.64 src/libexec/ld.elf_so/headers.c:1.65
--- src/libexec/ld.elf_so/headers.c:1.64 Tue Jul 24 13:48:48 2018
+++ src/libexec/ld.elf_so/headers.c Sun Dec 30 11:55:15 2018
@@ -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 @@ _rtld_digest_dynamic(const char *execnam
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