diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2018-08-09 04:29:43 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2018-08-10 08:14:24 -0700 |
commit | 9c973a29df61c411e24ce51b13401333c6f6e0e7 (patch) | |
tree | 76959877a0940f58891ab88cef1ac2d44e351bcb /gdb/m68k-bsd-tdep.c | |
parent | 11459a79d97842a64961a35472bb8d67ed0fcf22 (diff) | |
download | gdb-9c973a29df61c411e24ce51b13401333c6f6e0e7.zip gdb-9c973a29df61c411e24ce51b13401333c6f6e0e7.tar.gz gdb-9c973a29df61c411e24ce51b13401333c6f6e0e7.tar.bz2 |
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.
Diffstat (limited to 'gdb/m68k-bsd-tdep.c')
0 files changed, 0 insertions, 0 deletions