jrtc27 added a comment.

From an ABI/codegen perspective the small data limit doesn’t matter here, all 
it does is govern whether things go in .sdata or not. The linker is what 
chooses whether to use GP, which happens regardless of whether something is in 
.sdata, just things in .sdata are more likely to be picked, since GP is defined 
to be 0x800 from its start. What matters is that the linker is told not to do 
GP relaxation.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D146463

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

Reply via email to