Style
[ELF][Writer] Don't infinite loop.

This will be tested by a following committ that runs the linker
with no inputs.
[Driver] Add -flavor core support. This will be tested by other tests using -flavor core.
[ELF] Add skeleton for X86-64 relocations.
Target test fix.
[CMake] Add lld to the list of test dependencies.