Fix warning 'enumeral and non-enumeral type in conditional expression'.

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@204221 91177308-0d34-0410-b5e6-96231b3b80d8
[ELF] Remove unused fields (linking context references).

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@204222 91177308-0d34-0410-b5e6-96231b3b80d8
[PECOFF] Fix -Wsign-compare warning.

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@204223 91177308-0d34-0410-b5e6-96231b3b80d8
Remove extra semicolon for -Wpedantic.

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