[PATCH] D150510: [ELF] x86-64: place .lrodata, .lbss, and .ldata away from code sections

James Y Knight via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 15 06:56:14 PDT 2023


jyknight added a comment.

So, I also had a version I was going to send for review, but I'm too slow, and it's now conflicted with intermediary cleanups.

So I've pushed it here instead for now: https://github.com/llvm/llvm-project/compare/main...jyknight:llvm-project:lld-largefile-2 (starting with a revert of your cleanup, just in order to not need to deal with merge conflicts at this point...).

The main points I think are important are:

- Also supports code sections marked large (they are placed at the end, after RW data).
- Splits segments at NOBITS->BITS boundaries, so that a new segment is started between .bss and .ldata (assuming there is .bss).


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D150510



More information about the llvm-commits mailing list