From 59c45eeb109a3e4567f2bebe3feb5330d99a392a Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Wed, 6 Jun 2018 16:02:02 +0200 Subject: ld.so: Introduce delayed relocation processing 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. --- include/link.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/link.h') 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 -- cgit v1.2.3