diff options
Diffstat (limited to 'elf/dl-reloc.c')
-rw-r--r-- | elf/dl-reloc.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/elf/dl-reloc.c b/elf/dl-reloc.c index dbbc19c233..b46d3bcf47 100644 --- a/elf/dl-reloc.c +++ b/elf/dl-reloc.c @@ -89,8 +89,15 @@ cannot make segment writable for relocation")); : l->l_addr) #include "dynamic-link.h" + /* Start symbol lookup caching for this object. */ + _dl_lookup_cache.map = l; + _dl_lookup_cache_versioned.map = l; + ELF_DYNAMIC_RELOCATE (l, lazy, consider_profiling); + _dl_lookup_cache.map = NULL; + _dl_lookup_cache_versioned.map = NULL; + if (__builtin_expect (consider_profiling, 0)) { /* Allocate the array which will contain the already found |