[PATCH] [ELF] LLD does not create a record in the .dynsym if a strong symbol defined in the executable file replaces a weak symbol from a shared library.
Shankar Kalpathi Easwaran
shankarke at gmail.com
Wed Aug 13 19:46:37 PDT 2014
When the weak symbol in the shared library is resolved from another object file when building an executable that symbol would need to be exported.
I was suggesting to have a reference in the atom that if it needs to be exported, be set to exportDynamic during the resolution phase.
It could be recorded in the elf context as well but to be cleaner I felt that a reference used.
Does that sound the right way (or) I am over complicating things ?
Shankar Easwaran
http://reviews.llvm.org/D4789
More information about the llvm-commits
mailing list