diff options
author | Alan Modra <amodra@gmail.com> | 2020-08-31 13:17:06 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2020-08-31 20:28:10 +0930 |
commit | 1174d92070a85a8ad25e9b9686dd1b4921e96702 (patch) | |
tree | 490ec9444c93d0d8bfe006afa9292a83eda0d8b1 /include/ChangeLog | |
parent | 227d539b17c60a74c583dc66a2c0467243eb4bb2 (diff) | |
download | gdb-1174d92070a85a8ad25e9b9686dd1b4921e96702.zip gdb-1174d92070a85a8ad25e9b9686dd1b4921e96702.tar.gz gdb-1174d92070a85a8ad25e9b9686dd1b4921e96702.tar.bz2 |
PR26493 UBSAN: elfnn-riscv.c left shift of negative value
include/
PR 26493
* opcode/riscv.h (OP_MASK_CSR, OP_MASK_CUSTOM_IMM)
(OP_MASK_FUNCT7, OP_MASK_RS3): Make unsigned.
bfd/
PR 26493
* elfnn-riscv.c (riscv_make_plt_header): Cast PLT_HEADER_SIZE to
unsigned when using with RISCV_ITYPE.
(_bfd_riscv_relax_call): Use an unsigned foff.
Diffstat (limited to 'include/ChangeLog')
-rw-r--r-- | include/ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/ChangeLog b/include/ChangeLog index c76d9cc..9daa866 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,5 +1,11 @@ 2020-08-31 Alan Modra <amodra@gmail.com> + PR 26493 + * opcode/riscv.h (OP_MASK_CSR, OP_MASK_CUSTOM_IMM) + (OP_MASK_FUNCT7, OP_MASK_RS3): Make unsigned. + +2020-08-31 Alan Modra <amodra@gmail.com> + PR 26457 * som/aout.h (SOM_SUBSPACE_ACCESS_CONTROL_BITS_MASK): Make unsigned. (SOM_SUBSPACE_MEMORY_RESIDENT, SOM_SUBSPACE_DUP_COMMON) |