ubsan: undefined shift in sign_extend
authorAlan Modra <amodra@gmail.com>
Sat, 13 Aug 2022 04:37:31 +0000 (14:07 +0930)
committerAlan Modra <amodra@gmail.com>
Sat, 13 Aug 2022 04:41:27 +0000 (14:11 +0930)
commit9effb9f15f4811a80169801b5d2938961424a7d4
tree6fbf5f262ec977d6dd23ea8ce5298cf501db5f70
parent8c68d88cc44ec476125e30835f79865e8eb32358
ubsan: undefined shift in sign_extend

* libhppa.h (sign_extend): Avoid undefined behaviour.
bfd/libhppa.h