From defaba407d488d348eb1849cc9b57d2269e5cf9d Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Tue, 24 Jan 2017 18:32:30 +0100 Subject: WIP delayed IFUNC relocation --- include/link.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include') diff --git a/include/link.h b/include/link.h index eeb5f4d53b..a8d85c9f37 100644 --- a/include/link.h +++ b/include/link.h @@ -60,6 +60,7 @@ struct r_search_path_elem; /* Forward declaration. */ struct link_map; +struct dl_ifunc_relocation; /* Structure to describe a single list of scope elements. The lookup functions get passed an array of pointers to such structures. */ @@ -318,6 +319,11 @@ struct link_map ElfW(Addr) l_relro_addr; size_t l_relro_size; +#ifdef HAVE_IFUNC + /* Deferred IFUNC relocations. Only used during relocation. */ + struct dl_ifunc_relocation *l_ifunc_relocations; +#endif + unsigned long long int l_serial; /* Audit information. This array apparent must be the last in the -- cgit v1.2.3