| commit | 590207aa6ece509eabbc7a51aab87e5d9bcfc869 | [log] [tgz] |
|---|---|---|
| author | Alan Modra <amodra@gmail.com> | Thu Jul 21 13:31:51 2022 +0930 |
| committer | Alan Modra <amodra@gmail.com> | Thu Jul 21 13:35:51 2022 +0930 |
| tree | 34a76a27ca58fa83b1679f89c400d40936968b94 | |
| parent | 0679db296682575b4d34fc8686fbbeb305b283e9 [diff] |
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.