diff options
author | Alan Modra <amodra@gmail.com> | 2022-07-21 13:31:51 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2022-07-21 13:35:51 +0930 |
commit | 590207aa6ece509eabbc7a51aab87e5d9bcfc869 (patch) | |
tree | 34a76a27ca58fa83b1679f89c400d40936968b94 /config/warnings.m4 | |
parent | 0679db296682575b4d34fc8686fbbeb305b283e9 (diff) | |
download | gdb-590207aa6ece509eabbc7a51aab87e5d9bcfc869.zip gdb-590207aa6ece509eabbc7a51aab87e5d9bcfc869.tar.gz gdb-590207aa6ece509eabbc7a51aab87e5d9bcfc869.tar.bz2 |
PowerPC64: fix build error on 32-bit hosts
elf64-ppc.c:11673:33: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘bfd_vma’ {aka ‘long long unsigned int’} [-Werror=format=]
11673 | fprintf (stderr, "offset = %#lx:", stub_entry->stub_offset);
| ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~
| | |
| | bfd_vma {aka long long unsigned int}
| long unsigned int
| %#llx
* elf64-ppc.c (dump_stub): Use BFD_VMA_FMT.
Diffstat (limited to 'config/warnings.m4')
0 files changed, 0 insertions, 0 deletions