Displaying 1 result from an estimated 1 matches for "gnu_hash_elf_sections".
2015 Jul 21
5
[LLVMdev] Some thought on handling ELF shared libraries in lld
...program headers.
* Finding the number of symbols with the program header in a
traditional ELF file is a hack. One has to read the nchain field of
the hash table.
* It doesn't seem even possible to find that information in files
using the newer gnu hash format
(https://blogs.oracle.com/ali/entry/gnu_hash_elf_sections).
Given that, it looks like we should use the sections. For what it is
worth, it looks like that is what every other ELF linker does.
Cheers,
Rafael