diff options
author | Jon Turney <jon.turney@dronecode.org.uk> | 2020-08-21 16:30:00 +0100 |
---|---|---|
committer | Jon Turney <jon.turney@dronecode.org.uk> | 2020-08-24 18:04:55 +0100 |
commit | 3cdad0846b5f37898798d4145e5b991900a46ec5 (patch) | |
tree | f12756bd780d29a64c6d682fcdda42c195695dfb /bfd/elf32-cris.c | |
parent | PR26489, ASAN: ppc64_elf_size_stubs elf64-ppc.c:13389 (diff) | |
download | binutils-gdb-3cdad0846b5f37898798d4145e5b991900a46ec5.tar.gz binutils-gdb-3cdad0846b5f37898798d4145e5b991900a46ec5.tar.bz2 binutils-gdb-3cdad0846b5f37898798d4145e5b991900a46ec5.zip |
Fix erroroneous use of '%zu' in elfcore_grok_win32pstatus
As reported in [1], _bfd_error_handler() doesn't support '%zu'.
module_name_size is always 32-bits in the data structure we are
extracting it from, so use an unsigned int to store it instead.
[1] https://sourceware.org/pipermail/gdb-patches/2020-August/171391.html
bfd/ChangeLog:
2020-08-21 Jon Turney <jon.turney@dronecode.org.uk>
* elf.c (elfcore_grok_win32pstatus): Change name_size to unsigned
int. Use '%u' format with _bfd_error_handler to render it.
Diffstat (limited to 'bfd/elf32-cris.c')
0 files changed, 0 insertions, 0 deletions