PR26498 UBSAN: elf32-spu.c:2292 left shift overflow
authorAlan Modra <amodra@gmail.com>
Wed, 26 Aug 2020 10:32:07 +0000 (20:02 +0930)
committerAlan Modra <amodra@gmail.com>
Wed, 26 Aug 2020 13:53:45 +0000 (23:23 +0930)
commit2d0ce6779c25fb28b3b35cee02871b9a8d4cd29b
tree01afc767e045f3c7aff380adb2a9abc229c95867
parent9e51d549d7901be8b999f8dac86c5efd6a7edef2
PR26498 UBSAN: elf32-spu.c:2292 left shift overflow

PR 26498
* elf32-spu.c (find_function_stack_adjust): Use unsigned vars to
avoid UB left shift.
bfd/ChangeLog
bfd/elf32-spu.c