[binutils-gdb] bfd: Fix left shift of negative value.
sergiodj+buildbot@redhat.com
sergiodj+buildbot@redhat.com
Mon Nov 9 16:23:00 GMT 2015
*** TEST RESULTS FOR COMMIT 29f628db8835fd86b85ffb40d4a9ed5b1c28f1e6 ***
Author: Dominik Vogt <vogt@linux.vnet.ibm.com>
Branch: master
Commit: 29f628db8835fd86b85ffb40d4a9ed5b1c28f1e6
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.
More information about the Gdb-testers
mailing list