Skip to content
Commit 7b5088b3 authored by Peter Collingbourne's avatar Peter Collingbourne
Browse files

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
parent ae7b1c43
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment