aboutsummaryrefslogtreecommitdiff
path: root/bfd/config.in
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2020-08-27 21:44:41 +0930
committerAlan Modra <amodra@gmail.com>2020-08-27 22:05:00 +0930
commit4b69ce9b9121090ac42cf8fa20b949bbd9afff95 (patch)
tree196408e74cea24562bea850fc2ff4a8c6850e383 /bfd/config.in
parent6fbd4a8e8baa7fe5adcaa1c11c885f741fccd250 (diff)
downloadgdb-4b69ce9b9121090ac42cf8fa20b949bbd9afff95.zip
gdb-4b69ce9b9121090ac42cf8fa20b949bbd9afff95.tar.gz
gdb-4b69ce9b9121090ac42cf8fa20b949bbd9afff95.tar.bz2
PR26469 UBSAN: elflink.c:8742 shift exponent 6148914691236511722
PR 26469 * elflink.c: Include limits.h. (CHAR_BIT): Provide fallback define. (set_symbol_value): Correct complex reloc comment. (undefined_reference): Set bfd_error. (BINARY_OP_HEAD, BINARY_OP_TAIL): Split out from.. (BINARY_OP): ..this. (eval_symbol): Limit shifts. Force unsigned for left shift. Catch divide by zero. * configure.ac (AC_CHECK_HEADERS): Combine, sort and add limits.h. * configure: Regenerate. * config.in: Regenerate.
Diffstat (limited to 'bfd/config.in')
-rw-r--r--bfd/config.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/bfd/config.in b/bfd/config.in
index c7be6c5..18fb8ae 100644
--- a/bfd/config.in
+++ b/bfd/config.in
@@ -143,6 +143,9 @@
/* Define to 1 if you have the <inttypes.h> header file. */
#undef HAVE_INTTYPES_H
+/* Define to 1 if you have the <limits.h> header file. */
+#undef HAVE_LIMITS_H
+
/* Define to 1 if the system has the type `long double'. */
#undef HAVE_LONG_DOUBLE