Module Name: src
Committed By: matt
Date: Fri Mar 21 01:40:42 UTC 2014
Modified Files:
src/libexec/ld.elf_so: symbol.c
Log Message:
Don't resolve symbols to PLT entries on the VAX. It just causes a lot of
overhead.
To generate a diff of this commit:
cvs rdiff -u -r1.63 -r1.64 src/libexec/ld.elf_so/symbol.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/symbol.c
diff -u src/libexec/ld.elf_so/symbol.c:1.63 src/libexec/ld.elf_so/symbol.c:1.64
--- src/libexec/ld.elf_so/symbol.c:1.63 Fri May 3 10:27:05 2013
+++ src/libexec/ld.elf_so/symbol.c Fri Mar 21 01:40:41 2014
@@ -1,4 +1,4 @@
-/* $NetBSD: symbol.c,v 1.63 2013/05/03 10:27:05 skrll Exp $ */
+/* $NetBSD: symbol.c,v 1.64 2014/03/21 01:40:41 matt Exp $ */
/*
* Copyright 1996 John D. Polstra.
@@ -40,7 +40,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: symbol.c,v 1.63 2013/05/03 10:27:05 skrll Exp $");
+__RCSID("$NetBSD: symbol.c,v 1.64 2014/03/21 01:40:41 matt Exp $");
#endif /* not lint */
#include <err.h>
@@ -260,7 +260,7 @@ _rtld_symlook_obj(const char *name, unsi
rdbg(("check \"%s\" vs \"%s\" in %s", name, strp, obj->path));
if (name[1] != strp[1] || strcmp(name, strp))
continue;
-#ifdef __mips__
+#if defined(__mips__) || defined(__vax__)
if (symp->st_shndx == SHN_UNDEF)
continue;
#else