[PATCH] D66658: [ELF] Align the first section of a PT_LOAD even if its type is SHT_NOBITS

Peter Smith via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 23 09:53:05 PDT 2019


peter.smith accepted this revision.
peter.smith added a comment.
This revision is now accepted and ready to land.

LGTM. I've tested this on the example and in qemu-aarch64 the p_offset is aligned and the ELF file runs in the same way as when -znow isn't used.


Repository:
  rLLD LLVM Linker

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

https://reviews.llvm.org/D66658





More information about the llvm-commits mailing list