aboutsummaryrefslogtreecommitdiff
path: root/binutils/objcopy.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2022-08-06 10:34:04 +0930
committerAlan Modra <amodra@gmail.com>2022-08-06 18:43:04 +0930
commit77b38f6db98e046232ecaac11b61c453965fb75a (patch)
tree44a085e1f97012dc55c6a02294f4e256d24473f8 /binutils/objcopy.c
parent9663a947c09f63f75491dd4ad2f38fb448142240 (diff)
downloadbinutils-77b38f6db98e046232ecaac11b61c453965fb75a.zip
binutils-77b38f6db98e046232ecaac11b61c453965fb75a.tar.gz
binutils-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 'binutils/objcopy.c')
0 files changed, 0 insertions, 0 deletions