[PATCH] D22676: [ELF] - Linkerscript: ignore DATA_SEGMENT_RELRO_END expression
George Rimar via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 22 23:51:59 PDT 2016
grimar added a comment.
I think we can support this in a next way:
1. DATA_SEGMENT_ALIGN is always just ignored.
2. When -z relro is not present then DATA_SEGMENT_RELRO_END is ignored.
3. When -z relro is present, DATA_SEGMENT_RELRO_END just aligns the location counter position to the page boundary.
That way we will have the same behavior we have now without the script. Any opinions ?
https://reviews.llvm.org/D22676
More information about the llvm-commits
mailing list