[PATCH] D19995: Optimize access to global variable references in PIE mode when linker supports copy relocations for PIE
Joerg Sonnenberger via llvm-commits
llvm-commits at lists.llvm.org
Fri May 6 12:42:56 PDT 2016
joerg added a subscriber: joerg.
joerg added a comment.
This looks like a huge step in the wrong direction to me. Copy relocations are one of the worst misfeatures of ELF. Please do not add any new dependencies.
That said, if the original motivation is simplifying access to variables of the main program (not in shared libraries), the linker can already optimize them.
http://reviews.llvm.org/D19995
More information about the llvm-commits
mailing list