[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
Sat May 7 11:45:10 PDT 2016


joerg added a comment.

In http://reviews.llvm.org/D19995#424195, @davidxl wrote:

> Also note this is not something new introduced by this patch. Non-pie case
>  already does it.


One reason a  lot of OS people are pushing for PIE is to get rid of copy relocations. Again, please do not add another instance of them. The behavior can be obtained without any such regressions.


http://reviews.llvm.org/D19995





More information about the llvm-commits mailing list