diff options
author | Alan Modra <amodra@gmail.com> | 2022-08-06 10:34:04 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2022-08-06 18:43:04 +0930 |
commit | 77b38f6db98e046232ecaac11b61c453965fb75a (patch) | |
tree | 44a085e1f97012dc55c6a02294f4e256d24473f8 /bfd/bfd-in2.h | |
parent | 9663a947c09f63f75491dd4ad2f38fb448142240 (diff) | |
download | gdb-77b38f6db98e046232ecaac11b61c453965fb75a.zip gdb-77b38f6db98e046232ecaac11b61c453965fb75a.tar.gz gdb-77b38f6db98e046232ecaac11b61c453965fb75a.tar.bz2 |
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.
Diffstat (limited to 'bfd/bfd-in2.h')
0 files changed, 0 insertions, 0 deletions