ubsan: aarch64: left shift of negative value
authorAlan Modra <amodra@gmail.com>
Mon, 16 Dec 2019 06:28:30 +0000 (16:58 +1030)
committerAlan Modra <amodra@gmail.com>
Mon, 16 Dec 2019 07:05:13 +0000 (17:35 +1030)
commitf81e7e2db6d1aaf47561e54356aee12b585533c2
tree53524a5a7c584b514762e5cd1ca94c40044e2bf2
parent488d02fe7729dda5b9414a3942df68e0c316ce53
ubsan: aarch64: left shift of negative value

* aarch64-dis.c (sign_extend): Return uint64_t.  Rewrite without
conditional.
(aarch64_ext_imm): Avoid signed overflow.
opcodes/ChangeLog
opcodes/aarch64-dis.c