https://sourceware.org/bugzilla/show_bug.cgi?id=26493

--- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> ---
The master branch has been updated by Alan Modra <amo...@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=1174d92070a85a8ad25e9b9686dd1b4921e96702

commit 1174d92070a85a8ad25e9b9686dd1b4921e96702
Author: Alan Modra <amo...@gmail.com>
Date:   Mon Aug 31 13:17:06 2020 +0930

    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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to