From 65f124c64b37ab763c224819271bdeecafec3da0 Mon Sep 17 00:00:00 2001 From: Douglas Gilbert Date: Fri, 13 Jan 2017 11:44:29 -0600 Subject: Code clean up to satisfy gcc version 6 --- bfd/dwarf2.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bfd/dwarf2.c') diff --git a/bfd/dwarf2.c b/bfd/dwarf2.c index c9349da34a..d5ed605077 100644 --- a/bfd/dwarf2.c +++ b/bfd/dwarf2.c @@ -3074,8 +3074,8 @@ place_sections (bfd *abfd, struct dwarf2_debug *stash) /* Align the new address to the current section alignment. */ last_vma = ((last_vma - + ~((bfd_vma) -1 << sect->alignment_power)) - & ((bfd_vma) -1 << sect->alignment_power)); + + ~(-((bfd_vma) 1 << sect->alignment_power))) + & (-((bfd_vma) 1 << sect->alignment_power))); sect->vma = last_vma; last_vma += sect->vma + sz; } -- cgit v1.2.1