PowerPC64: fix build error on 32-bit hosts
authorAlan Modra <amodra@gmail.com>
Thu, 21 Jul 2022 04:01:51 +0000 (13:31 +0930)
committerAlan Modra <amodra@gmail.com>
Thu, 21 Jul 2022 04:05:51 +0000 (13:35 +0930)
commit590207aa6ece509eabbc7a51aab87e5d9bcfc869
tree34a76a27ca58fa83b1679f89c400d40936968b94
parent0679db296682575b4d34fc8686fbbeb305b283e9
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.
bfd/elf64-ppc.c