[PATCH] D47396: [LLD] Place .nv_fatbin section at the beginning of the executable.
Peter Collingbourne via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed May 30 11:34:18 PDT 2018
pcc added a comment.
That seems like it would work. If it doesn't, I guess another idea would be to test for the property directly: does an output section have limited-range relocations referring to or from it? If so, move it to the end of the segment. This seems feasible because we scan relocations before ordering output sections.
https://reviews.llvm.org/D47396
More information about the llvm-commits
mailing list