commit | 77b38f6db98e046232ecaac11b61c453965fb75a | [log] [tgz] |
---|---|---|
author | Alan Modra <amodra@gmail.com> | Sat Aug 06 10:34:04 2022 +0930 |
committer | Alan Modra <amodra@gmail.com> | Sat Aug 06 18:43:04 2022 +0930 |
tree | 44a085e1f97012dc55c6a02294f4e256d24473f8 | |
parent | 9663a947c09f63f75491dd4ad2f38fb448142240 [diff] |
ubsan: som.c undefined shift in som_set_reloc_info Do the shift using unsigned variables to avoid UB on << 8. * som.c (som_set_reloc_info): Make v unsigned. Localise some variables to their blocks.