diff options
| author | matt <matt@NetBSD.org> | 2014-03-21 01:40:41 +0000 |
|---|---|---|
| committer | matt <matt@NetBSD.org> | 2014-03-21 01:40:41 +0000 |
| commit | a212f77d4cdecbbd3e08a28937cc8fe293d3a966 (patch) | |
| tree | 4bfeaeae896b21e6e777a216648632768f49cf53 /libexec | |
| parent | 90786c9be37d417731bc71441e95f4b1a968046a (diff) | |
Don't resolve symbols to PLT entries on the VAX. It just causes a lot of
overhead.
Diffstat (limited to 'libexec')
| -rw-r--r-- | libexec/ld.elf_so/symbol.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libexec/ld.elf_so/symbol.c b/libexec/ld.elf_so/symbol.c index 1b15c0850fc..9446505b25c 100644 --- a/libexec/ld.elf_so/symbol.c +++ b/libexec/ld.elf_so/symbol.c @@ -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, unsigned long hash, 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 |
