[Mips] Allow linking object files with MIPS32 and MIPS64 instructions
authorSimon Atanasyan <simon@atanasyan.com>
Fri, 16 Jan 2015 08:57:08 +0000 (08:57 +0000)
committerSimon Atanasyan <simon@atanasyan.com>
Fri, 16 Jan 2015 08:57:08 +0000 (08:57 +0000)
commit48b0bca7e8940ffa188b37172158e2552a2e832b
treed99a0c3d218b39cfb96e9bc856a24e524a18bf1a
parent60b721363c86ef4712aa26652ed6cbcd9768c3f9
[Mips] Allow linking object files with MIPS32 and MIPS64 instructions

If object files satisfy O32 ABI they can be linked together even if some
of them contains MIPS64 or MIPS64R2 instructions.

llvm-svn: 226253
lld/lib/ReaderWriter/ELF/Mips/MipsELFFlagsMerger.cpp
lld/test/elf/Mips/e-flags-merge-1.test
lld/test/elf/Mips/e-flags-merge-8.test [new file with mode: 0644]
lld/test/elf/Mips/e-flags-merge-9.test [new file with mode: 0644]