[Mips] Pass type of relocation and addendum to the `calculateRelocation`
authorSimon Atanasyan <simon@atanasyan.com>
Sun, 22 Mar 2015 16:35:08 +0000 (16:35 +0000)
committerSimon Atanasyan <simon@atanasyan.com>
Sun, 22 Mar 2015 16:35:08 +0000 (16:35 +0000)
commit283629a0f70948f348873dd9d787b9ab5b8f11d4
treeebec2e37fda4a0048635636aee62d684ef9e784f
parent15a6194b5d0ff81a86cbe01c5dc17baa036c07fb
[Mips] Pass type of relocation and addendum to the `calculateRelocation`
separately

This change reduce difference between the trunk and upcoming patch and
simplify the future code review.

No functional changes.

llvm-svn: 232919
lld/lib/ReaderWriter/ELF/Mips/MipsRelocationHandler.cpp