diff options
Diffstat (limited to 'elf/dl-symbol.c')
-rw-r--r-- | elf/dl-symbol.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/elf/dl-symbol.c b/elf/dl-symbol.c index bdd7615e48..5c12df7bff 100644 --- a/elf/dl-symbol.c +++ b/elf/dl-symbol.c @@ -28,6 +28,6 @@ _dl_symbol_value (struct link_map *map, const char *name) { const ElfW(Sym) *ref = NULL; lookup_t result; - result = _dl_lookup_symbol (name, map, &ref, map->l_local_scope, 0); + result = _dl_lookup_symbol (name, map, &ref, map->l_local_scope, 0, 1); return (result ? LOOKUP_VALUE_ADDRESS (result) : 0) + ref->st_value; } |