MaskRay added a comment.

To add on rnk's comment (deduplication of vague linkage data which may be 
included in multiple shared objects), another big reason is -Bsymbolic data 
does not work with copy relocations. -fno-pic programs generally cannot avoid 
copy relocations (except mips; mips did this thing correctly). GCC 5 x86-64 has 
a regression <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98112> that -fpie 
code can have copy relocations, too.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D102090/new/

https://reviews.llvm.org/D102090

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to