Added test for ifunc support in dynamic linker.
ifuncs now work in i386 and x86_64 when called in the same library as
well as in a different library.
Bug:6657325
(cherry picked from commit c5a13efa9bc4264be0a9a9e37c00633af01584ed)
Change-Id: I321d780bc2f9bd1baa749e1acacd2683aefe827b
diff --git a/linker/linker.h b/linker/linker.h
index 374652e..d7cf24b 100644
--- a/linker/linker.h
+++ b/linker/linker.h
@@ -204,8 +204,12 @@
void set_st_dev(dev_t st_dev);
void set_st_ino(ino_t st_ino);
+ void set_has_ifuncs(bool ifunc);
ino_t get_st_ino();
dev_t get_st_dev();
+ bool get_has_ifuncs();
+
+
soinfo_list_t& get_children();
@@ -218,6 +222,8 @@
// when FLAG_NEW_SOINFO is set in this->flags.
unsigned int version;
+ bool has_ifuncs;
+
dev_t st_dev;
ino_t st_ino;