]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
PR26442 UBSAN: elf32-crx.c:512 cannot be represented in int
authorAlan Modra <amodra@gmail.com>
Sun, 30 Aug 2020 23:02:32 +0000 (08:32 +0930)
committerAlan Modra <amodra@gmail.com>
Mon, 31 Aug 2020 10:58:09 +0000 (20:28 +0930)
commitc1f138f9557a14678f6f988975cba441f56e6137
tree1727af28cdcc72b85c08f140115b5563f92a1c16
parent26e3de8e0a2d95e02b9dec46c67531755303fc4b
PR26442 UBSAN: elf32-crx.c:512 cannot be represented in int

PR 26442
* elf32-crx.c (crx_elf_final_link_relocate): Calculate reloc_bits
without undefined behaviour.  Tidy excess casts.
bfd/ChangeLog
bfd/elf32-crx.c