SHA256
1
0
forked from pool/binutils
binutils/binutils-2.29-gold-mips.patch

12 lines
434 B
Diff

--- gold/mips.cc.orig 2017-07-26 12:42:53.595075930 +0200
+++ gold/mips.cc 2017-07-26 12:43:15.859443263 +0200
@@ -5664,7 +5664,7 @@
: addend_a);
Valtype x = psymval->value(object, addend);
- x = ((x + (uint64_t) 0x800080008000) >> 48) & 0xffff;
+ x = ((x + (uint64_t) 0x800080008000ULL) >> 48) & 0xffff;
val = Bits<32>::bit_select32(val, x, 0xffff);
if (calculate_only)