diff options
author | Rongwei Wang <rongwei.wang@linux.alibaba.com> | 2021-12-10 20:39:10 +0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2021-12-10 11:25:37 -0800 |
commit | 718fdd87b1b98ef88e883a37d9c18867256fa5a4 (patch) | |
tree | a6448e52abdd289a43acd8a0d77efc645a0668f7 /elf/tst-audit13mod1.c | |
parent | 2e75604f8337fa4332977f72a8f6726309679edf (diff) | |
download | glibc-718fdd87b1b98ef88e883a37d9c18867256fa5a4.tar glibc-718fdd87b1b98ef88e883a37d9c18867256fa5a4.tar.gz glibc-718fdd87b1b98ef88e883a37d9c18867256fa5a4.tar.bz2 glibc-718fdd87b1b98ef88e883a37d9c18867256fa5a4.zip |
elf: Properly align PT_LOAD segments [BZ #28676]
When PT_LOAD segment alignment > the page size, allocate enough space to
ensure that the segment can be properly aligned. This change helps code
segments use huge pages become simple and available.
This fixes [BZ #28676].
Signed-off-by: Xu Yu <xuyu@linux.alibaba.com>
Signed-off-by: Rongwei Wang <rongwei.wang@linux.alibaba.com>
Diffstat (limited to 'elf/tst-audit13mod1.c')
0 files changed, 0 insertions, 0 deletions