[PATCH 1/7] Fix invalid left shift of negative value.

Dominik Vogt vogt@linux.vnet.ibm.com
Fri Oct 30 14:40:00 GMT 2015


On Fri, Oct 30, 2015 at 03:38:15PM +0100, Dominik Vogt wrote:
> The following series of patches fixes all occurences of
> left-shifting negative constants in C code which is undefined by
> the C standard.  The patches have been tested on s390x, covering
> only a small subset of the changes.

Changes in bfd/.

Ciao

Dominik ^_^  ^_^

-- 

Dominik Vogt
IBM Germany
-------------- next part --------------
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-bfd-Fix-left-shift-of-negative-value.patch
Type: text/x-diff
Size: 3077 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20151030/7c1e1fb7/attachment.bin>


More information about the Binutils mailing list