diff options
author | Alan Modra <amodra@gmail.com> | 2020-08-27 21:44:41 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2020-08-27 22:05:00 +0930 |
commit | 4b69ce9b9121090ac42cf8fa20b949bbd9afff95 (patch) | |
tree | 196408e74cea24562bea850fc2ff4a8c6850e383 /sim/cr16 | |
parent | 6fbd4a8e8baa7fe5adcaa1c11c885f741fccd250 (diff) | |
download | gdb-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 'sim/cr16')
0 files changed, 0 insertions, 0 deletions