PowerPC, use size_t rather than long for indices
authorAlan Modra <amodra@gmail.com>
Thu, 19 Dec 2019 04:47:12 +0000 (15:17 +1030)
committerAlan Modra <amodra@gmail.com>
Thu, 19 Dec 2019 04:57:00 +0000 (15:27 +1030)
commit9ad9b810c385c83242a3100fa986d174c83ffe10
treee4496d8618ebfab1ff2ff5437b4cfd906e0bf2b2
parent32769083d1b6b1cb325409b3c9b99c06026f70d7
PowerPC, use size_t rather than long for indices

This is fussing about nothing really but since I was looking at signed
vs. unsigned issues, I decided to use the correct types here.

* elf32-ppc.c (ppc_elf_get_synthetic_symtab): Use size_t for vars.
* elf64-ppc.c (sym_exists_at): Use size_t for lo, hi and mid.
bfd/ChangeLog
bfd/elf32-ppc.c
bfd/elf64-ppc.c