diff options
author | Peter Collingbourne <peter@pcc.me.uk> | 2017-01-04 18:56:15 +0000 |
---|---|---|
committer | Peter Collingbourne <peter@pcc.me.uk> | 2017-01-04 18:56:15 +0000 |
commit | 7b5088b3b267230a4fad4a7400f8ff47e0181d9b (patch) | |
tree | 62884de66fa1585619eb73308de2b26d30bdce82 /clang/lib/Frontend/TestModuleFileExtension.cpp | |
parent | ae7b1c43ee15f40cb6df0166c68b7c7f6c94d653 (diff) | |
download | bcm5719-llvm-7b5088b3b267230a4fad4a7400f8ff47e0181d9b.tar.gz bcm5719-llvm-7b5088b3b267230a4fad4a7400f8ff47e0181d9b.zip |
ELF: Round p_memsz of the PT_GNU_RELRO program header up to the page size.
The glibc dynamic loader rounds the size down, so without this the loader
will fail to change the memory protection for the last page.
Differential Revision: https://reviews.llvm.org/D28267
llvm-svn: 290986
Diffstat (limited to 'clang/lib/Frontend/TestModuleFileExtension.cpp')
0 files changed, 0 insertions, 0 deletions