]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - bfd/ChangeLog-2015
bfd: Fix left shift of negative value.
authorDominik Vogt <vogt@linux.vnet.ibm.com>
Mon, 9 Nov 2015 16:12:56 +0000 (17:12 +0100)
committerAndreas Krebbel <krebbel@linux.vnet.ibm.com>
Mon, 9 Nov 2015 16:12:56 +0000 (17:12 +0100)
commit29f628db8835fd86b85ffb40d4a9ed5b1c28f1e6
treec0ffbc644152f866b50a138946114840e09b4612
parenta5eda10c7857581e6ee641937f99aa76fa8044eb
bfd: Fix left shift of negative value.

This patch fixes all occurences of left-shifting negative constants in C code
which is undefined by the C standard.

bfd/ChangeLog:

        * elf64-ppc.c (ppc64_elf_size_stubs, ppc64_elf_build_stubs): Fix left
        shift of negative value.
        * libbfd.c (safe_read_leb128): Likewise.
        * dwarf2.c (place_sections): Likewise.
        * bfd-in.h (align_power): Likewise.
        * bfd-in2.h (align_power): Likewise.
bfd/ChangeLog
bfd/bfd-in.h
bfd/bfd-in2.h
bfd/dwarf2.c
bfd/elf64-ppc.c
bfd/libbfd.c