Fix an integer overflow in RISC-V relocation handling
authorAndrew Waterman <andrew@sifive.com>
Mon, 19 Dec 2016 06:53:49 +0000 (22:53 -0800)
committerAlan Modra <amodra@gmail.com>
Tue, 20 Dec 2016 01:56:33 +0000 (12:26 +1030)
commit1d61f7949f77796ee407466f3ca7f42dcde9251b
tree211118dfa45c495a60a49de0bde53c6973489c29
parent45f764234a71431b581340957a3c8338e0593fdb
Fix an integer overflow in RISC-V relocation handling

* elfnn-riscv.c (bfd_riscv_get_max_alignment): Return bfd_vma
instead of unsigned int.
bfd/ChangeLog
bfd/elfnn-riscv.c