* elf_find_symbol(): Skip undefined symbols and symbols with the wrong binding.

* Implemented missing handling of symbolically linked images and of weak
  symbols.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39646 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold
2010-11-26 13:32:24 +00:00
parent 003b80f0bb
commit c07db2ec3f
2 changed files with 49 additions and 17 deletions
+2
View File
@@ -34,6 +34,8 @@ struct elf_image_info {
addr_t dynamic_section; // pointer to the dynamic section
struct elf_linked_image *linked_images;
bool symbolic;
struct Elf32_Ehdr *elf_header;
// pointer to symbol participation data structures