[PATCH] D59531: [ELF] Produce multiple PT_NOTE segments as needed
Jake Ehrlich via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 22 12:25:52 PDT 2019
jakehehrlich added a comment.
Roland pointed out that this will be a regression after those special high alignment notes are flushed from the ecosystem (this is apparently a recent addition and the issue will be resolved in the months to come). A possibility is that if we see a note section with greater than 4-byte alignment then we use this method but otherwise fallback to the old method. This means that on Linux binaries for the time being (while this new ABI thing is being flushed out of the ecosystem) will be slightly larger but as soon as its fixed ld.lld will be back to fully functioning. This is a general strategy too because no matter size the notes are, the reader will bump by 4-byte alignment. That seems fine to me and I'll upload that change today hopefully.
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D59531/new/
https://reviews.llvm.org/D59531
More information about the llvm-commits
mailing list