]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Re: Update objcopy's --section-alignment option
authorAlan Modra <amodra@gmail.com>
Thu, 4 Apr 2024 10:18:14 +0000 (20:48 +1030)
committerAlan Modra <amodra@gmail.com>
Thu, 4 Apr 2024 10:32:29 +0000 (21:02 +1030)
commitfab240554b76603775e8a0fec45c8b5808380684
tree8fe5b7acb2aeae2119abade1320389b67dc86aa7
parent1bc2544b895f001cef00c9d71e70557dacb8ee55
Re: Update objcopy's --section-alignment option

ubsan: left shift of 1 by 31 places cannot be represented in type 'int'

* objcopy.c (setup_section): Avoid undefined behaviour when
checking vma and lma for alignment.
binutils/objcopy.c