Yet more signed overflow fixes
authorAlan Modra <amodra@gmail.com>
Wed, 18 Dec 2019 08:03:14 +0000 (18:33 +1030)
committerAlan Modra <amodra@gmail.com>
Wed, 18 Dec 2019 08:08:13 +0000 (18:38 +1030)
commit2365f8d70c50afbfd6be69a4076ea6e78fb5485d
treefbb92f4ec54f3a4fb3efdff76ca0a248f6faf121
parent2480b6fa946bb2d2dc993b1c4a83a8e1258a75e8
Yet more signed overflow fixes

* elf-bfd.h (ELF_LOCAL_SYMBOL_HASH): Avoid signed overflow.
* elf32-hppa.c (final_link_relocate): Likewise.
* elf32-ppc.c (_bfd_elf_ppc_at_tls_transform): Likewise.
(_bfd_elf_ppc_at_tprel_transform, is_insn_ds_form): Likewise.
(is_insn_dq_form, ppc_elf_relocate_section): Likewise.
* elf64-ppc.c (ok_lo_toc_insn, ppc64_elf_edit_toc): Likewise.
(ppc64_elf_relocate_section): Likewise.
* elfxx-mips.c (mips_elf_perform_relocation): Likewise.
* netbsd.h (N_SET_FLAGS): Likewise.
bfd/ChangeLog
bfd/elf-bfd.h
bfd/elf32-hppa.c
bfd/elf32-ppc.c
bfd/elf64-ppc.c
bfd/elfxx-mips.c
bfd/netbsd.h