[Core] Move Resolver and SymbolTable over to TargetInfo.

No functionality change.

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@173192 91177308-0d34-0410-b5e6-96231b3b80d8
Move everything over to TargetInfo.

I really would have liked to split this patch up, but it would greatly
complicate the lld-core and lld drivers having to deal with both
{Reader,Writer}Option and TargetInfo.

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@173217 91177308-0d34-0410-b5e6-96231b3b80d8
change from using 2 bits to 4 bits, as 2 bits arent enough to hold the enumeration OutputKind

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

It owns and manages passes.

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@173287 91177308-0d34-0410-b5e6-96231b3b80d8
[ELF] Read IFUNC symbols correctly as typeResolver.

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@173299 91177308-0d34-0410-b5e6-96231b3b80d8
Add SectionPosition and OrderPass

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@173300 91177308-0d34-0410-b5e6-96231b3b80d8
Move SimpleAtoms.h to ReaderWriter.

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@173380 91177308-0d34-0410-b5e6-96231b3b80d8
[Driver] Run the pass manager.

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

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@173430 91177308-0d34-0410-b5e6-96231b3b80d8
change all occurences of File to FileELF

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@173449 91177308-0d34-0410-b5e6-96231b3b80d8
[CMake] Setup include dirs properly.

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@173488 91177308-0d34-0410-b5e6-96231b3b80d8
[ELF][X86-64] Use the correct base address.

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@173527 91177308-0d34-0410-b5e6-96231b3b80d8
[ELF][x86-64] Add relocation string<->kind.

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

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@173570 91177308-0d34-0410-b5e6-96231b3b80d8
lldX86_64ELFTarget depends on lldCore.

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@173573 91177308-0d34-0410-b5e6-96231b3b80d8
[ELF] Use entry point from LinkerOptions.

Patch by Ahmed Bougacha!

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@173655 91177308-0d34-0410-b5e6-96231b3b80d8
[ELF] Use correct regex in test.

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@173665 91177308-0d34-0410-b5e6-96231b3b80d8
add register section, remove contentType from sectionKey

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@173709 91177308-0d34-0410-b5e6-96231b3b80d8
[ELF] Clean up doxygen comments.

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@173740 91177308-0d34-0410-b5e6-96231b3b80d8
[ELF] Remove OwningPtr from the Chunk::write interface.

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