PR26435, PR26436 UBSAN: elf32-cr16.c:928 left shift
authorAlan Modra <amodra@gmail.com>
Sun, 30 Aug 2020 10:07:15 +0000 (19:37 +0930)
committerAlan Modra <amodra@gmail.com>
Sun, 30 Aug 2020 10:07:15 +0000 (19:37 +0930)
commit34d8e6d0c5f3c51d0e7858572791d8269b9d0f1c
treeb0b50ba764503b5d847dd02174538e7bb905261c
parentc44ea3aef605b6159ffb19daee77c46c7cac576b
PR26435, PR26436 UBSAN: elf32-cr16.c:928 left shift

PR 26435
PR 26436
* elf32-cr16.c (cr16_elf_final_link_relocate): Calculate reloc_bits
without undefined behaviour.
bfd/ChangeLog
bfd/elf32-cr16.c