diff options
author | Florian Weimer <fweimer@redhat.com> | 2017-01-24 18:32:30 +0100 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2017-01-24 18:32:30 +0100 |
commit | defaba407d488d348eb1849cc9b57d2269e5cf9d (patch) | |
tree | 02d6304fe6aaa3c144b302963b70a39eb3824afb /elf/dl-open.c | |
parent | feb6d6b394bd0ebd74d3f4370394dfb94b1f011a (diff) | |
download | glibc-fw/bug21041.zip glibc-fw/bug21041.tar.gz glibc-fw/bug21041.tar.bz2 |
WIP delayed IFUNC relocationfw/bug21041
Diffstat (limited to 'elf/dl-open.c')
-rw-r--r-- | elf/dl-open.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/elf/dl-open.c b/elf/dl-open.c index d238fb2..e40fb3b 100644 --- a/elf/dl-open.c +++ b/elf/dl-open.c @@ -35,7 +35,7 @@ #include <atomic.h> #include <dl-dst.h> - +#include <dl-ifunc.h> extern int __libc_multiple_libcs; /* Defined in init-first.c. */ @@ -552,6 +552,7 @@ TLS generation counter wrapped! Please report this.")); } } + _dl_ifunc_apply_relocations (new); _dl_relocate_apply_relro (new); /* Notify the debugger all new objects have been relocated. */ @@ -673,6 +674,7 @@ no more namespaces available for dlmopen()")); if ((mode & __RTLD_AUDIT) == 0) GL(dl_tls_dtv_gaps) = true; + _dl_ifunc_clear_relocations (args.map); _dl_close_worker (args.map, true); } |