Simplify. NFC.

llvm-svn: 272924
This commit is contained in:
Rui Ueyama 2016-06-16 17:18:25 +00:00
parent e517de655b
commit 727cd2f73f
1 changed files with 1 additions and 1 deletions

View File

@ -1901,7 +1901,7 @@ uint64_t MipsTargetInfo<ELFT>::getImplicitAddend(const uint8_t *Buf,
// FIXME (simon): If the relocation target symbol is not a PLT entry
// we should use another expression for calculation:
// ((A << 2) | (P & 0xf0000000)) >> 2
return SignExtend64<28>((read32<E>(Buf) & 0x3ffffff) << 2);
return SignExtend64<28>(read32<E>(Buf) << 2);
case R_MIPS_GPREL16:
case R_MIPS_LO16:
case R_MIPS_PCLO16: