diff options
author | Alan Modra <amodra@gmail.com> | 2021-04-12 18:33:45 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2021-04-13 00:35:44 +0930 |
commit | 43e05cd4f48b550023819d823fec02abf54e26d3 (patch) | |
tree | 8db8be01bef7bae060fcfef55b7d6d0843731274 /opcodes/config.in | |
parent | 04977957ecfc723bc4f57460e8e4eed7e6b69f32 (diff) | |
download | binutils-gdb-43e05cd4f48b550023819d823fec02abf54e26d3.tar.gz |
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.
Diffstat (limited to 'opcodes/config.in')
-rw-r--r-- | opcodes/config.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/opcodes/config.in b/opcodes/config.in index 9807dd75ca6..392cda5d0d9 100644 --- a/opcodes/config.in +++ b/opcodes/config.in @@ -7,6 +7,9 @@ #endif #define __CONFIG_H__ 1 +/* Define if you want run-time sanity checks. */ +#undef ENABLE_CHECKING + /* Define to 1 if translation of program messages to the user's native language is requested. */ #undef ENABLE_NLS |