]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
MIPS/BFD: Use `bfd_size_type' for dynamic symbol table indices
authorMaciej W. Rozycki <macro@imgtec.com>
Thu, 2 Feb 2017 21:43:26 +0000 (21:43 +0000)
committerMaciej W. Rozycki <macro@imgtec.com>
Mon, 13 Feb 2017 14:30:15 +0000 (14:30 +0000)
commit0e3f75f5e8cd41680a9ca1931a3cfa013ec914b5
treea2a7c6c9dbdceb86dded8ea221314c2610b9c6f7
parentaa00db4a314825119048f84302f2bdc67e56a7dc
MIPS/BFD: Use `bfd_size_type' for dynamic symbol table indices

Use the `bfd_size_type' data type for dynamic symbol table indices in
the MIPS backend, in line with generic code and removing the need to use
a cast.

bfd/
* elfxx-mips.c (mips_elf_hash_sort_data): Convert the
`min_got_dynindx', `max_unref_got_dynindx' and
`max_non_got_dynindx' members to the `bfd_size_type' data type.
(mips_elf_sort_hash_table): Adjust accordingly.

(cherry picked from commit 55f8b9d243dbd879ffa585f7e0c7d8b6b819302d)
bfd/ChangeLog
bfd/elfxx-mips.c