[PATCH] D43228: [ELF] Allow redefining LMA for a section inside a segment.

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 15 21:01:31 PST 2018

ruiu added a comment.

The ELF spec [1] requires that "loadable process segments must have congruent values for p_vaddr and p_offset, modulo the page size." Doesn't the executable produced with this patch violate that rule?

[1] http://www.skyfree.org/linux/references/ELF_Format.pdf p. 2


More information about the llvm-commits mailing list