diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2022-07-05 12:45:23 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2022-07-06 12:39:06 -0700 |
commit | fb5a4a581d4fbd02ae41e034439872a169e43f0b (patch) | |
tree | bae6159d8b54a1d5ab650e6eb6a8e159c6b90711 /gdb/python | |
parent | 8bd915b770e12eff67f6218f2d727069d04d5752 (diff) | |
download | binutils-fb5a4a581d4fbd02ae41e034439872a169e43f0b.zip binutils-fb5a4a581d4fbd02ae41e034439872a169e43f0b.tar.gz binutils-fb5a4a581d4fbd02ae41e034439872a169e43f0b.tar.bz2 |
elf: Copy p_align of PT_GNU_STACK for stack alignment
commit 74e315dbfe5200c473b226e937935fb8ce391489
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Mon Dec 13 19:46:04 2021 -0800
elf: Set p_align to the minimum page size if possible
may ignore p_align of PT_GNU_STACK when copying ELF program header if
the maximum page size is larger than p_align of PT_LOAD segments. Copy
p_align of PT_GNU_STACK since p_align of PT_GNU_STACK describes stack
alignment, not page size,
PR binutils/29319
* elf.c (copy_elf_program_header): Copy p_align of PT_GNU_STACK
for stack alignment.
Diffstat (limited to 'gdb/python')
0 files changed, 0 insertions, 0 deletions