ENABLE_CHECKING in bfd, opcodes, binutils, ld
authorAlan Modra <amodra@gmail.com>
Mon, 12 Apr 2021 09:03:45 +0000 (18:33 +0930)
committerAlan Modra <amodra@gmail.com>
Mon, 12 Apr 2021 15:05:44 +0000 (00:35 +0930)
commit43e05cd4f48b550023819d823fec02abf54e26d3
tree8db8be01bef7bae060fcfef55b7d6d0843731274
parent04977957ecfc723bc4f57460e8e4eed7e6b69f32
ENABLE_CHECKING in bfd, opcodes, binutils, ld

gas already has this.  Here it enables checking hash table type passed
to elf_link_hash_lookup and elf_link_hash_traverse.

bfd/
* elf-bfd.h (ENABLE_CHECKING): Define.
(elf_link_hash_lookup): Abort if wrong type of hash table.
(elf_link_hash_traverse): Likewise.
* configure.ac (--enable-checking): Add support.
* config.in: Regenerate.
* configure: Regenerate.
binutils/
* configure.ac (--enable-checking): Add support.
* config.in: Regenerate.
* configure: Regenerate.
ld/
* configure.ac (--enable-checking): Add support.
* config.in: Regenerate.
* configure: Regenerate.
opcodes/
* configure.ac (--enable-checking): Add support.
* config.in: Regenerate.
* configure: Regenerate.
17 files changed:
bfd/ChangeLog
bfd/config.in
bfd/configure
bfd/configure.ac
bfd/elf-bfd.h
binutils/ChangeLog
binutils/config.in
binutils/configure
binutils/configure.ac
ld/ChangeLog
ld/config.in
ld/configure
ld/configure.ac
opcodes/ChangeLog
opcodes/config.in
opcodes/configure
opcodes/configure.ac