summaryrefslogtreecommitdiff
path: root/bfd/elf32-microblaze.c
diff options
context:
space:
mode:
authorJon Turney <jon.turney@dronecode.org.uk>2020-08-21 16:30:00 +0100
committerJon Turney <jon.turney@dronecode.org.uk>2020-08-24 18:04:55 +0100
commit3cdad0846b5f37898798d4145e5b991900a46ec5 (patch)
treef12756bd780d29a64c6d682fcdda42c195695dfb /bfd/elf32-microblaze.c
parent918dc783deadc206691dcc20bf8aa6c807c10244 (diff)
downloadbinutils-gdb-3cdad0846b5f37898798d4145e5b991900a46ec5.tar.gz
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-microblaze.c')
0 files changed, 0 insertions, 0 deletions