diff options
author | Alan Modra <amodra@gmail.com> | 2020-08-31 11:38:05 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2020-08-31 20:28:10 +0930 |
commit | 227d539b17c60a74c583dc66a2c0467243eb4bb2 (patch) | |
tree | 425307d891720f74dab29a3c2c2ce4fe41f552e3 /bfd/ChangeLog | |
parent | 1a211fc7d87dc92c2c91d24d0424d8f0485587f9 (diff) | |
download | gdb-227d539b17c60a74c583dc66a2c0467243eb4bb2.zip gdb-227d539b17c60a74c583dc66a2c0467243eb4bb2.tar.gz gdb-227d539b17c60a74c583dc66a2c0467243eb4bb2.tar.bz2 |
PR26476, PR26477 UBSAN: elfxx-mips.c:2695,5370 cannot be represented
PR 26476
PR 26477
* elfxx-mips.c (CRINFO_CTYPE, CRINFO_RTYPE, CRINFO_DIST2TO),
(CRINFO_RELVADDR): Make unsigned.
(mips_elf_nullify_got_load): Use unsigned constant when shifting
into sign bit.
Diffstat (limited to 'bfd/ChangeLog')
-rw-r--r-- | bfd/ChangeLog | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index f972a5a..ae405e8 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,5 +1,14 @@ 2020-08-31 Alan Modra <amodra@gmail.com> + PR 26476 + PR 26477 + * elfxx-mips.c (CRINFO_CTYPE, CRINFO_RTYPE, CRINFO_DIST2TO), + (CRINFO_RELVADDR): Make unsigned. + (mips_elf_nullify_got_load): Use unsigned constant when shifting + into sign bit. + +2020-08-31 Alan Modra <amodra@gmail.com> + PR 26466 * mep-relocs.pl (emit_apply): Handle HI16S adjustment. Use "u" variable and rewrite signed overflow check. |