diff options
author | joerg <joerg@pkgsrc.org> | 2015-09-08 18:52:13 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2015-09-08 18:52:13 +0000 |
commit | deeb5699a92f4f30c9639da9ac2845b34a930114 (patch) | |
tree | 901ec20f65db917da20e2deea6a9097b7a5c7113 | |
parent | df86fcf6981908a8336c852edca1c68974b977e7 (diff) | |
download | pkgsrc-deeb5699a92f4f30c9639da9ac2845b34a930114.tar.gz |
Avoid left-shifting negative constants.
-rw-r--r-- | cross/bossa/distinfo | 3 | ||||
-rw-r--r-- | cross/bossa/patches/patch-src_arm-dis_arm-dis.cpp | 13 |
2 files changed, 15 insertions, 1 deletions
diff --git a/cross/bossa/distinfo b/cross/bossa/distinfo index 2d0cf4bc778..60f7103d183 100644 --- a/cross/bossa/distinfo +++ b/cross/bossa/distinfo @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.3 2014/02/18 15:01:09 joerg Exp $ +$NetBSD: distinfo,v 1.4 2015/09/08 18:52:13 joerg Exp $ SHA1 (b-o-s-s-a-code-05bfcc39bc0453c3028b1161175b95a81af7a901.zip) = 4a21cb6c19ad755fd31f6f0b96b6b1dd997c62c9 RMD160 (b-o-s-s-a-code-05bfcc39bc0453c3028b1161175b95a81af7a901.zip) = eb9cc01f00bf9c8f1d59ea11e0b8cede532e4829 Size (b-o-s-s-a-code-05bfcc39bc0453c3028b1161175b95a81af7a901.zip) = 692158 bytes SHA1 (patch-Makefile-NetBSD) = f3a145cadd6a889295b6f589c07c14d0468b7c98 SHA1 (patch-PortFactory.h) = 4faae14f2efe2fc20eac90910b458484060ee2da +SHA1 (patch-src_arm-dis_arm-dis.cpp) = 3e3b96bf9ea2213cbfd82df5e91c54cbdf2b9b52 diff --git a/cross/bossa/patches/patch-src_arm-dis_arm-dis.cpp b/cross/bossa/patches/patch-src_arm-dis_arm-dis.cpp new file mode 100644 index 00000000000..5ea186e75b2 --- /dev/null +++ b/cross/bossa/patches/patch-src_arm-dis_arm-dis.cpp @@ -0,0 +1,13 @@ +$NetBSD: patch-src_arm-dis_arm-dis.cpp,v 1.1 2015/09/08 18:52:13 joerg Exp $ + +--- src/arm-dis/arm-dis.cpp.orig 2015-09-03 11:58:25.000000000 +0000 ++++ src/arm-dis/arm-dis.cpp +@@ -1961,7 +1961,7 @@ print_insn_coprocessor (bfd_vma pc, + + /* Is ``imm'' a negative number? */ + if (imm & 0x40) +- imm |= (-1 << 7); ++ imm |= -128; + + func (stream, "%d", imm); + } |