summaryrefslogtreecommitdiffstats
path: root/src/audit.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/audit.c')
-rw-r--r--src/audit.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/audit.c b/src/audit.c
index 0037c52..2d00c88 100644
--- a/src/audit.c
+++ b/src/audit.c
@@ -257,7 +257,8 @@ static unsigned int la_symbind(ElfW(Sym) *sym, const char *symname)
}
/* we are interested in this symbol */
- if (!(flags & LA_SYMB_NOPLTENTER))
+ if (lt_sh(&cfg, global_symbols) &&
+ !(flags & LA_SYMB_NOPLTENTER))
lt_symbol_bind(cfg.sh, (void*) sym->st_value, symname);
return flags;