[lld] r234630 - [Mips] Fix typo in the comment

Simon Atanasyan simon at atanasyan.com
Fri Apr 10 13:54:58 PDT 2015


Author: atanasyan
Date: Fri Apr 10 15:54:58 2015
New Revision: 234630

URL: http://llvm.org/viewvc/llvm-project?rev=234630&view=rev
Log:
[Mips] Fix typo in the comment

Modified:
    lld/trunk/lib/ReaderWriter/ELF/Mips/MipsRelocationHandler.cpp

Modified: lld/trunk/lib/ReaderWriter/ELF/Mips/MipsRelocationHandler.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/ReaderWriter/ELF/Mips/MipsRelocationHandler.cpp?rev=234630&r1=234629&r2=234630&view=diff
==============================================================================
--- lld/trunk/lib/ReaderWriter/ELF/Mips/MipsRelocationHandler.cpp (original)
+++ lld/trunk/lib/ReaderWriter/ELF/Mips/MipsRelocationHandler.cpp Fri Apr 10 15:54:58 2015
@@ -157,7 +157,7 @@ static uint64_t reloc64(uint64_t S, int6
 static uint64_t relocSub(uint64_t S, int64_t A) { return S - A; }
 
 /// \brief R_MIPS_PC32
-/// local/external: word32 S + A i- P (truncate)
+/// local/external: word32 S + A - P (truncate)
 static uint32_t relocpc32(uint64_t P, uint64_t S, int64_t A) {
   return S + A - P;
 }





More information about the llvm-commits mailing list