This patch added CanUseCopyRelocWithPIE:
http://llvm.org/viewvc/llvm-project?view=revision&revision=273958
I am converting this into a llvm option -pie-copy-relocations
Rreviously, copy relocations with PIE was discussed here:
https://reviews.llvm.org/D19995
This should really live in MCTargetOptions, and not a global. We're trying to move away from cl::opt in library code.