[llvm-branch-commits] [ELF] Place .lbss/.lrodata/.ldata after .bss (PR #81224)

Arthur Eubanks via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Tue Feb 13 16:09:46 PST 2024


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


More information about the llvm-branch-commits mailing list