diff options
author | Douglas Gilbert <dgilbert999@netscape.net> | 2017-01-13 11:44:29 -0600 |
---|---|---|
committer | Douglas Gilbert <dgilbert999@netscape.net> | 2017-02-01 14:32:03 -0600 |
commit | 65f124c64b37ab763c224819271bdeecafec3da0 (patch) | |
tree | 04598b483570648284bb93fcff2b4ba540f3f529 /bfd/dwarf2.c | |
parent | 5b161fc30519a965f16e7e73c3410a388140cba1 (diff) | |
download | ppe42-binutils-65f124c64b37ab763c224819271bdeecafec3da0.tar.gz ppe42-binutils-65f124c64b37ab763c224819271bdeecafec3da0.zip |
Code clean up to satisfy gcc version 6
Diffstat (limited to 'bfd/dwarf2.c')
-rw-r--r-- | bfd/dwarf2.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |