aboutsummaryrefslogtreecommitdiff
path: root/include/link.h
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2018-06-06 16:02:02 +0200
committerFlorian Weimer <fweimer@redhat.com>2019-04-15 17:39:45 +0200
commit59c45eeb109a3e4567f2bebe3feb5330d99a392a (patch)
tree098d597006bdc88499f913eba751b586b1ba26a4 /include/link.h
parented8938f4f66e87cd805e0b1b94bab868e8ae0ea3 (diff)
downloadglibc-fw/bug21242.tar
glibc-fw/bug21242.tar.gz
glibc-fw/bug21242.tar.bz2
glibc-fw/bug21242.zip
ld.so: Introduce delayed relocation processingfw/bug21242
This makes it possible to use IFUNC resolvers which depend on relocations themselves, as long as these reloctions do not depend on IFUNCs. So far, delayed relocation processing is only implemented for x86-64.
Diffstat (limited to 'include/link.h')
-rw-r--r--include/link.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/link.h b/include/link.h
index 736e1d72ae..b5b1e2e87f 100644
--- a/include/link.h
+++ b/include/link.h
@@ -202,6 +202,9 @@ struct link_map
unsigned int l_free_initfini:1; /* Nonzero if l_initfini can be
freed, ie. not allocated with
the dummy malloc in ld.so. */
+ /* Link maps has pending delayed (IFUNC) relocations. Only used
+ during relocation. */
+ unsigned int l_delayed_relocations:1;
#include <link_map.h>