aeubanks wrote: +1 to everything jyknight has said. I would prefer `.lrodata` at the beginning of the binary when `-pie` for one less segment, and at the end of the binary when `-no-pie` so large data doesn't increase relocation pressure. This PR is an improvement in that `-no-pie` relocation pressure is significantly more important than one less segment for `-pie` (especially if we already have extra segments due to large data), but not ideal imo.
https://github.com/llvm/llvm-project/pull/81224 _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits