diff options
| author | 2019-07-21 03:54:16 +0000 | |
|---|---|---|
| committer | 2019-07-21 03:54:16 +0000 | |
| commit | 518321a888a192cda6e8b9a18a281330aa108186 (patch) | |
| tree | 74726ea82c2c62567be9079bef6ab2d9782d6155 /libexec/ld.so/resolve.h | |
| parent | Get rid of `ddb_is_active' instead use `db_active'. (diff) | |
| download | wireguard-openbsd-518321a888a192cda6e8b9a18a281330aa108186.tar.xz wireguard-openbsd-518321a888a192cda6e8b9a18a281330aa108186.zip | |
In 2004, we upgraded to binutils 2.14 with did -zcombreloc by default.
In 2013, I implemented the single-entry LRU cache that gets the maximal
symbol reuse from combreloc. Since then, the ld.so generic relocation
symcache has been a waste of CPU and memory with 0% hit-rate, so kill it.
ok mpi@
Diffstat (limited to 'libexec/ld.so/resolve.h')
| -rw-r--r-- | libexec/ld.so/resolve.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/libexec/ld.so/resolve.h b/libexec/ld.so/resolve.h index 82ac21b487b..ac90ac4a0e7 100644 --- a/libexec/ld.so/resolve.h +++ b/libexec/ld.so/resolve.h @@ -1,4 +1,4 @@ -/* $OpenBSD: resolve.h,v 1.92 2019/05/11 21:02:35 guenther Exp $ */ +/* $OpenBSD: resolve.h,v 1.93 2019/07/21 03:54:16 guenther Exp $ */ /* * Copyright (c) 1998 Per Fogelstrom, Opsycon AB @@ -368,9 +368,6 @@ typedef struct sym_cache { int flags; } sym_cache; -extern sym_cache *_dl_symcache; -extern int _dl_symcachestat_hits; -extern int _dl_symcachestat_lookups; TAILQ_HEAD(dlochld, dep_node); extern struct dlochld _dlopened_child_list; __END_HIDDEN_DECLS |
