temporary commit.

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@205635 91177308-0d34-0410-b5e6-96231b3b80d8
Revert "temporary commit."

This reverts commit r205635 that was submitted by mistake.

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

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@205639 91177308-0d34-0410-b5e6-96231b3b80d8
Replace dyn_cast<T>s immediately followed by asserts with cast<T>s.

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@205641 91177308-0d34-0410-b5e6-96231b3b80d8
useNew is set to false in all branches, so set it to false outside the if-else.

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@205642 91177308-0d34-0410-b5e6-96231b3b80d8
Split a utility function not to use goto statement.

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@205643 91177308-0d34-0410-b5e6-96231b3b80d8
This is yet another case clang-modernize failed to add "override".

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@205644 91177308-0d34-0410-b5e6-96231b3b80d8
[X86-64] Add missing relocation.

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@205645 91177308-0d34-0410-b5e6-96231b3b80d8
[ELF] Diagnose malformed --dynsym option.

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@205654 91177308-0d34-0410-b5e6-96231b3b80d8
[ELF] Fix --soname option.

Currently LLD accepts only "-soname <string>", but all the following
options are actually valid.

  --soname=foo
  --soname foo
  -soname=foo
  -soname foo
  -h foo

This patch fixes that issue.

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@205662 91177308-0d34-0410-b5e6-96231b3b80d8
[ELF] Add a test for -rpath.

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