This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb] Always use align_size as pr_datasz for GNU_PROPERTY_STACK_SIZE
- From: sergiodj+buildbot at sergiodj dot net
- To: gdb-testers at sourceware dot org
- Date: Fri, 10 Aug 2018 11:53:10 -0400
- Subject: [binutils-gdb] Always use align_size as pr_datasz for GNU_PROPERTY_STACK_SIZE
*** TEST RESULTS FOR COMMIT 9c973a29df61c411e24ce51b13401333c6f6e0e7 ***
Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: 9c973a29df61c411e24ce51b13401333c6f6e0e7
Always use align_size as pr_datasz for GNU_PROPERTY_STACK_SIZE
For GNU_PROPERTY_STACK_SIZE, pr_datasz is the same as align_size, which
is 8 bytes for 64-bit ELF binaries and 4 bytes for 32-bit ELF binaries,
Use align_size as pr_datasz for GNU_PROPERTY_STACK_SIZE to convert
.note.gnu.property section.
bfd/
PR binutils/23494
* elf-properties.c (elf_get_gnu_property_section_size): Always
use align_size as pr_datasz for GNU_PROPERTY_STACK_SIZE.
(elf_write_gnu_properties): Likewise.
binutils/
PR binutils/23494
* testsuite/binutils-all/x86-64/pr23494c.s: New file.
* testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
* testsuite/binutils-all/x86-64/pr23494e.d: Likewise.