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
Change-Id: Ic0c48b1b0a76cb90f36c20c79f68294cc3fd44a1
This commit is contained in:
Brigid Smith
2014-07-23 11:22:25 -07:00
parent f2d8c357ee
commit c5a13efa9b
7 changed files with 214 additions and 10 deletions

View File

@@ -204,8 +204,12 @@ struct soinfo {
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 @@ struct soinfo {
// when FLAG_NEW_SOINFO is set in this->flags.
unsigned int version;
bool has_ifuncs;
dev_t st_dev;
ino_t st_ino;