Revert "Fix relocation to look for symbols in local group"
This reverts commit fd2747bb585fc51b5ad56db09c0e9b66c7091a92.
Bug: 18222321
Bug: 18211780
Change-Id: I2d4ebab1e73b7277161af76b99f8249825b22d65
diff --git a/linker/linker.h b/linker/linker.h
index 222aca1..ebb4793 100644
--- a/linker/linker.h
+++ b/linker/linker.h
@@ -207,7 +207,7 @@
void CallDestructors();
void CallPreInitConstructors();
bool PrelinkImage();
- bool LinkImage(const soinfo_list_t& local_group, const android_dlextinfo* extinfo);
+ bool LinkImage(const android_dlextinfo* extinfo);
void add_child(soinfo* child);
void remove_all_links();
@@ -234,9 +234,9 @@
void CallArray(const char* array_name, linker_function_t* functions, size_t count, bool reverse);
void CallFunction(const char* function_name, linker_function_t function);
#if defined(USE_RELA)
- int Relocate(ElfW(Rela)* rela, unsigned count, const soinfo_list_t& local_group);
+ int Relocate(ElfW(Rela)* rela, unsigned count);
#else
- int Relocate(ElfW(Rel)* rel, unsigned count, const soinfo_list_t& local_group);
+ int Relocate(ElfW(Rel)* rel, unsigned count);
#endif
private: