This is a small bugfix for http://reviews.llvm.org/D22088
Resverved symbols are added in addReservedSymbols(), which is called before createSections()
Therefore if you define some reserved symbol in linker script then lld will report error because of name conflict
Does this test check for the new code? I think you need two test cases, one is for symbol definition and the other is for symbol conflict.