[Mips] Move setup of LLD_R_MIPS_STO_PLT relocation to the getPLTEntry() routine

No functional changes.

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@222320 91177308-0d34-0410-b5e6-96231b3b80d8
[Mips] Make the function return type constant pointer

No functional changes.

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@222321 91177308-0d34-0410-b5e6-96231b3b80d8
[Mips] Remove redundant const_cast

No functional changes.

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@222322 91177308-0d34-0410-b5e6-96231b3b80d8
[Mips] Inline the configurePLTReference method

No functional changes.

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@222323 91177308-0d34-0410-b5e6-96231b3b80d8
[Mips] Configure PLT and LA25 entries in the corresponding constructors

No functional changes.

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@222324 91177308-0d34-0410-b5e6-96231b3b80d8
[Mips] Remove unnecessary debug logging code

No functional changes

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@222325 91177308-0d34-0410-b5e6-96231b3b80d8
Revert "[ELF] Fix creation of segments."

This reverts commit r222312.

There looks to be an intermittent failure in the darwin buildbot.

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@222326 91177308-0d34-0410-b5e6-96231b3b80d8