[ELF][MIPS] Add mote tests on MipsArchTree routines, fix typos in error messages
authorSimon Atanasyan <simon@atanasyan.com>
Tue, 10 Jul 2018 16:51:17 +0000 (16:51 +0000)
committerSimon Atanasyan <simon@atanasyan.com>
Tue, 10 Jul 2018 16:51:17 +0000 (16:51 +0000)
commit64fb2901e58981a7251159136f96ca12dc82e1a9
treec1e3bb86ec6f5ca24be2e56dd22995755f255139
parent48ca0550ddccc3a9c46ab11600cf77688cbdb62c
[ELF][MIPS] Add mote tests on MipsArchTree routines, fix typos in error messages

This fix add more test cases for routines check MIPS ELF header flags and
flags from .MIPS.abiflags sections. The tests use yaml2obj for object
files generation because not all combinations of flags can be produced
by LLVM tools.

llvm-svn: 336704
lld/ELF/Arch/MipsArchTree.cpp
lld/test/ELF/mips-elf-flags-err.s
lld/test/ELF/mips-elf-flags-err.test [new file with mode: 0644]
lld/test/ELF/mips-fp-flags-err.test [new file with mode: 0644]
lld/test/ELF/mips-micro64-reject.test [deleted file]