[ELF] Refactor target error messages
authorEugene Leviant <eleviant@accesssoftek.com>
Tue, 29 Nov 2016 08:05:44 +0000 (08:05 +0000)
committerEugene Leviant <eleviant@accesssoftek.com>
Tue, 29 Nov 2016 08:05:44 +0000 (08:05 +0000)
commit84569e6caaf5af80459d8c4f4da511fdcba91a89
tree0e35ef27b006bbda856599593860315a64c20930
parentbf4ddeb97c041155d9095248b1d4f27ed40bb722
[ELF] Refactor target error messages

Differential revision: https://reviews.llvm.org/D27097

llvm-svn: 288114
lld/ELF/OutputSections.cpp
lld/ELF/OutputSections.h
lld/ELF/Target.cpp
lld/ELF/Writer.cpp
lld/ELF/Writer.h
lld/test/ELF/mips-align-err.s
lld/test/ELF/x86-64-reloc-error.s
lld/test/ELF/x86-64-reloc-range.s